Browse Source

fix: import React before using jsx (#3804)

Aakansha Doshi 4 years ago
parent
commit
e3e967421e
2 changed files with 2 additions and 0 deletions
  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";