feat: state for selected option

This commit is contained in:
karishmas6
2024-08-29 23:00:53 +05:30
parent feeb01b8c4
commit 648b6b3554

View File

@@ -42,6 +42,7 @@ const rows = [
export const InterpretationLog = () => {
const [open, setOpen] = useState<boolean>(false);
const [log, setLog] = useState<string>('');
  const [selectedOption, setSelectedOption] = useState<string>('');
const [customValue, setCustomValue] = useState('');
const logEndRef = useRef<HTMLDivElement | null>(null);