From bbe01cc1dde69b9fa3c3dc138706ee752af1a791 Mon Sep 17 00:00:00 2001 From: Jeffrey Lau Date: Fri, 18 Aug 2023 16:00:18 +0800 Subject: [PATCH] chore(types): Remove problematic type imports --- src/Main.tsx | 1 - src/smart/MGDComponents/MGDButton.tsx | 1 - src/smart/ui/control/ChangeLogViewer.tsx | 1 - 3 files changed, 3 deletions(-) diff --git a/src/Main.tsx b/src/Main.tsx index a3afac71..5b344f9b 100644 --- a/src/Main.tsx +++ b/src/Main.tsx @@ -3,7 +3,6 @@ import { jsx } from '@emotion/react'; import { FocusStyleManager, HotkeysProvider } from '@blueprintjs/core'; import { DatasetContext } from '@riboseinc/paneron-extension-kit/context'; -import React from 'react'; import { useContext, useMemo, useState } from 'react'; import RepositoryView from '@/smart/ui/app/RepoView'; import type { RepoIndex } from '@/smart/model/repo'; diff --git a/src/smart/MGDComponents/MGDButton.tsx b/src/smart/MGDComponents/MGDButton.tsx index 1ac015f5..55c5bd48 100644 --- a/src/smart/MGDComponents/MGDButton.tsx +++ b/src/smart/MGDComponents/MGDButton.tsx @@ -17,7 +17,6 @@ import { mgdButtonSize, mgd_button_type, } from '@/css/MGDButton'; -import React from 'react'; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/smart/ui/control/ChangeLogViewer.tsx b/src/smart/ui/control/ChangeLogViewer.tsx index 7e4c6522..20052c85 100644 --- a/src/smart/ui/control/ChangeLogViewer.tsx +++ b/src/smart/ui/control/ChangeLogViewer.tsx @@ -4,7 +4,6 @@ import { jsx } from '@emotion/react'; import { Button, Dialog, TextArea } from '@blueprintjs/core'; -import React from 'react'; import { dialog_layout, dialog_layout__full } from '@/css/layout'; import type { ChangeLog, ChangeLogEvent } from '@/smart/model/changelog'; import type { ModelAction } from '@/smart/model/editor/model';