From 62146be3e6d8f65330438646aa8a6ecd04baa275 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Thu, 29 Aug 2024 23:02:26 +0530 Subject: [PATCH] chore: lint --- src/components/molecules/InterpretationLog.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/molecules/InterpretationLog.tsx b/src/components/molecules/InterpretationLog.tsx index ff3871e5..99304ec4 100644 --- a/src/components/molecules/InterpretationLog.tsx +++ b/src/components/molecules/InterpretationLog.tsx @@ -42,7 +42,7 @@ const rows = [ export const InterpretationLog = () => { const [open, setOpen] = useState(false); const [log, setLog] = useState(''); -   const [selectedOption, setSelectedOption] = useState('10'); + const [selectedOption, setSelectedOption] = useState('10'); const [customValue, setCustomValue] = useState(''); const logEndRef = useRef(null); @@ -94,13 +94,13 @@ export const InterpretationLog = () => { }, [log, scrollLogToBottom]); const handleRadioChange = (event: React.ChangeEvent) => { -   setSelectedOption(event.target.value); -   }; - + setSelectedOption(event.target.value); + }; - const handleCustomValueChange = (event: React.ChangeEvent) => { -     setCustomValue(event.target.value); -   }; + + const handleCustomValueChange = (event: React.ChangeEvent) => { + setCustomValue(event.target.value); + }; useEffect(() => { socket?.on('log', handleLog);