From 84481ea6cfdb1efd07a8aca5f037293c696b3549 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Sat, 3 Feb 2024 23:51:57 -0600 Subject: [PATCH] Remove logging --- src/components/TagInput.tsx | 2 -- 1 file changed, 2 deletions(-) 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}