From 869b809f2b5e2f35ecd6bdced5d04bec8c8f977f Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 19 Oct 2024 18:03:11 +0530 Subject: [PATCH] chore: remove unused state --- src/components/molecules/InterpretationLog.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/components/molecules/InterpretationLog.tsx b/src/components/molecules/InterpretationLog.tsx index 98cb153d..9676c935 100644 --- a/src/components/molecules/InterpretationLog.tsx +++ b/src/components/molecules/InterpretationLog.tsx @@ -27,7 +27,6 @@ interface InterpretationLogProps { export const InterpretationLog: React.FC = ({ isOpen, setIsOpen }) => { const [log, setLog] = useState(''); - const [selectedOption, setSelectedOption] = useState('10'); const [customValue, setCustomValue] = useState(''); const [tableData, setTableData] = useState([]); @@ -83,10 +82,6 @@ export const InterpretationLog: React.FC = ({ isOpen, se scrollLogToBottom(); }, [log, scrollLogToBottom]); - const handleRadioChange = (event: React.ChangeEvent) => { - setSelectedOption(event.target.value); - }; - const handleCustomValueChange = (event: React.ChangeEvent) => { setCustomValue(event.target.value); };