diff --git a/src/components/molecules/InterpretationLog.tsx b/src/components/molecules/InterpretationLog.tsx index ed6ca0e5..ab5605ab 100644 --- a/src/components/molecules/InterpretationLog.tsx +++ b/src/components/molecules/InterpretationLog.tsx @@ -92,6 +92,13 @@ export const InterpretationLog = () => { scrollLogToBottom(); }, [log, scrollLogToBottom]); + const handleRadioChange = (event) => { + if (event.target.value === 'custom') { + setCustomValue(''); // Clear previous custom value on selection + } + }; + + useEffect(() => { socket?.on('log', handleLog); socket?.on('serializableCallback', handleSerializableCallback);