Skip to content

Commit 3027796

Browse files
committed
fix: ts build errors
1 parent bf8c6d2 commit 3027796

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/components/App.tsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
import React, {
2-
useState,
3-
useEffect,
4-
useCallback,
5-
type SetStateAction,
6-
useRef,
7-
} from "react";
1+
import { useState, useEffect, useRef } from "react";
82
import { CharacterCard, type SpecV3 } from "@lenml/char-card-reader";
93

104
import {
@@ -20,7 +14,6 @@ import {
2014
DialogBody,
2115
DialogActions,
2216
DialogContent,
23-
Spinner,
2417
Text,
2518
Divider,
2619
Tooltip,
@@ -31,7 +24,6 @@ import {
3124
DrawerHeaderTitle,
3225
DrawerBody,
3326
type SelectTabData,
34-
Input,
3527
} from "@fluentui/react-components";
3628

3729
import {
@@ -46,7 +38,6 @@ import { useStyles } from "./useStyles";
4638
import { GITHUB_REPO_LINK } from "./constants";
4739
import { GithubIcon } from "./icons";
4840
import { CharacterBookTab } from "./tabs/CharacterBookTab";
49-
import { useGlobalDrop } from "./useGlobalDrop";
5041
import { useI18n } from "../tools/i18n";
5142
import { BasicTab } from "./tabs/BasicTab";
5243
import { DetailsTab } from "./tabs/DetailsTab";
@@ -56,11 +47,9 @@ import { AvatarPanel } from "./AvatarPanel/AvatarPanel";
5647
import { LangSwitch } from "./LangSwitch";
5748
import { createBlackImage } from "../tools/images";
5849
import { ToolTab } from "./tabs/ToolTab";
59-
import { useGlobalPaste } from "./useGlobalPaste";
6050
import { StartPanel } from "./StartPanel/StartPanel";
6151
import pkgJson from "../../package.json";
6252
import { cardDB } from "../db/db";
63-
import { deepClone } from "../common/deepclone";
6453
import type { CardRecord } from "../db/types";
6554

6655
function getDefaultFormData() {

0 commit comments

Comments
 (0)