From 2ad4e2792de4f3ababf86f0b13276bd9ee3313c6 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Thu, 29 Aug 2024 23:02:12 +0530 Subject: [PATCH] feat: handle vustom val change --- src/components/molecules/InterpretationLog.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/molecules/InterpretationLog.tsx b/src/components/molecules/InterpretationLog.tsx index 57759192..ff3871e5 100644 --- a/src/components/molecules/InterpretationLog.tsx +++ b/src/components/molecules/InterpretationLog.tsx @@ -98,9 +98,9 @@ export const InterpretationLog = () => {   }; - const handleCustomInputChange = (event: any) => { - setCustomValue(event.target.value); - }; + const handleCustomValueChange = (event: React.ChangeEvent) => { +     setCustomValue(event.target.value); +   }; useEffect(() => { socket?.on('log', handleLog);