diff --git a/src/components/molecules/InterpretationLog.tsx b/src/components/molecules/InterpretationLog.tsx index c913ce4d..57759192 100644 --- a/src/components/molecules/InterpretationLog.tsx +++ b/src/components/molecules/InterpretationLog.tsx @@ -93,11 +93,10 @@ export const InterpretationLog = () => { scrollLogToBottom(); }, [log, scrollLogToBottom]); - const handleRadioChange = (event: any) => { - if (event.target.value === 'custom') { - setCustomValue(''); // Clear previous custom value on selection - } - }; + const handleRadioChange = (event: React.ChangeEvent) => { +   setSelectedOption(event.target.value); +   }; + const handleCustomInputChange = (event: any) => { setCustomValue(event.target.value);