From c7934c59cb17a4266ea882cdb40be79f22043d10 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Mon, 24 Jul 2023 00:31:02 +0800
Subject: ...

---
 FrontEnd/src/views/common/input/InputPanel.tsx | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

(limited to 'FrontEnd/src/views/common/input/InputPanel.tsx')

diff --git a/FrontEnd/src/views/common/input/InputPanel.tsx b/FrontEnd/src/views/common/input/InputPanel.tsx
index 234ed267..27937a05 100644
--- a/FrontEnd/src/views/common/input/InputPanel.tsx
+++ b/FrontEnd/src/views/common/input/InputPanel.tsx
@@ -1,7 +1,6 @@
 import * as React from "react";
 import classNames from "classnames";
 import { useTranslation } from "react-i18next";
-import { TwitterPicker } from "react-color";
 
 import { convertI18nText, I18nText } from "@/common";
 
@@ -89,14 +88,14 @@ export interface InputPanelProps<InputList extends readonly Input[]> {
   values: MapInputListToValueTypeList<InputList>;
   onChange: (
     values: MapInputListToValueTypeList<InputList>,
-    index: number
+    index: number,
   ) => void;
   error?: InputPanelError;
   disable?: boolean;
 }
 
 const InputPanel = <InputList extends readonly Input[]>(
-  props: InputPanelProps<InputList>
+  props: InputPanelProps<InputList>,
 ): React.ReactElement => {
   const { values, onChange, scheme, error, disable } = props;
 
@@ -108,7 +107,7 @@ const InputPanel = <InputList extends readonly Input[]>(
     newValues[index] = newValue;
     onChange(
       newValues as unknown as MapInputListToValueTypeList<InputList>,
-      index
+      index,
     );
   };
 
-- 
cgit v1.2.3

