Explorar o código

fix: import React before using jsx (#3804)

Aakansha Doshi %!s(int64=4) %!d(string=hai) anos
pai
achega
e3e967421e
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      src/components/CheckboxItem.tsx
  2. 1 0
      src/components/LibraryButton.tsx

+ 1 - 0
src/components/CheckboxItem.tsx

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

+ 1 - 0
src/components/LibraryButton.tsx

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