diff --git a/src/frontend/src/components/keypairListComponent/index.tsx b/src/frontend/src/components/keypairListComponent/index.tsx index d555b1ead..f33c3aa2b 100644 --- a/src/frontend/src/components/keypairListComponent/index.tsx +++ b/src/frontend/src/components/keypairListComponent/index.tsx @@ -19,42 +19,6 @@ export default function KeypairListComponent({ } }, [disabled]); - //when this feature is available, this code below must be in the parent component - // const [errorDuplicateKey, setErrorDuplicateKey] = useState(false); - // const [dict, setDict] = useState({ - // key1: "value1", - // key2: "value2", - // key3: "value3", - // key4: "value4", - // key5: "value5", - // key6: "value6", - // } as {}); - // const [dictArr, setDictArr] = useState([] as string[]); - - // useEffect(() => { - // setDictArr(convertObjToArray(dict)); - // }, [dict]); - - // left === true && type === "keypairlist" ? ( - //