Bläddra i källkod

fix: import React before using jsx (#3804)

vanilla_orig
Aakansha Doshi 4 år sedan
förälder
incheckning
e3e967421e
Inget konto är kopplat till bidragsgivarens mejladress
2 ändrade filer med 2 tillägg och 0 borttagningar
  1. 1
    0
      src/components/CheckboxItem.tsx
  2. 1
    0
      src/components/LibraryButton.tsx

+ 1
- 0
src/components/CheckboxItem.tsx Visa fil

@@ -1,3 +1,4 @@
1
+import React from "react";
1 2
 import clsx from "clsx";
2 3
 import { checkIcon } from "./icons";
3 4
 

+ 1
- 0
src/components/LibraryButton.tsx Visa fil

@@ -1,3 +1,4 @@
1
+import React from "react";
1 2
 import clsx from "clsx";
2 3
 import { t } from "../i18n";
3 4
 import { AppState } from "../types";

Laddar…
Avbryt
Spara