From 4d686a990a1df4efc41f144915946f5b51ba19b3 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Wed, 28 Aug 2024 23:56:30 +0530 Subject: [PATCH] feat: handle custom input change --- src/components/molecules/InterpretationLog.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/molecules/InterpretationLog.tsx b/src/components/molecules/InterpretationLog.tsx index 7a7c45cf..29ad7da0 100644 --- a/src/components/molecules/InterpretationLog.tsx +++ b/src/components/molecules/InterpretationLog.tsx @@ -98,6 +98,11 @@ export const InterpretationLog = () => { } }; + const handleCustomInputChange = (event) => { + setCustomValue(event.target.value); + }; + + useEffect(() => { socket?.on('log', handleLog);