From e3e967421ea5060fdb7c2f1aba15c96fc0b4b4d6 Mon Sep 17 00:00:00 2001 From: Aakansha Doshi Date: Mon, 5 Jul 2021 15:59:09 +0530 Subject: [PATCH] fix: import React before using jsx (#3804) --- src/components/CheckboxItem.tsx | 1 + src/components/LibraryButton.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/CheckboxItem.tsx b/src/components/CheckboxItem.tsx index 0aa6f23f..fcda4837 100644 --- a/src/components/CheckboxItem.tsx +++ b/src/components/CheckboxItem.tsx @@ -1,3 +1,4 @@ +import React from "react"; import clsx from "clsx"; import { checkIcon } from "./icons"; diff --git a/src/components/LibraryButton.tsx b/src/components/LibraryButton.tsx index 570f61a9..c5a55460 100644 --- a/src/components/LibraryButton.tsx +++ b/src/components/LibraryButton.tsx @@ -1,3 +1,4 @@ +import React from "react"; import clsx from "clsx"; import { t } from "../i18n"; import { AppState } from "../types";