diff --git a/src/components/TagInput.tsx b/src/components/TagInput.tsx index 66173c68..7b9c091f 100644 --- a/src/components/TagInput.tsx +++ b/src/components/TagInput.tsx @@ -65,7 +65,6 @@ export default function TagInput({ const ref = optionsRef.current; const options = ref?.querySelectorAll('div'); const option = options?.[selectedOptionIndex] as HTMLElement | undefined; - console.log({options, option: option?.innerHTML}); option?.focus(); } }, [selectedOptionIndex]); @@ -198,7 +197,6 @@ export default function TagInput({ addOption(option); inputRef.current?.focus(); setInputText(''); - // setHasFocus(false); }} > {option}