summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-07-22 23:16:51 -0700
committerNate Sesti <sestinj@gmail.com>2023-07-22 23:16:51 -0700
commit8c8f3f546ebfb10b23312e7cb980f16730ccc61f (patch)
treec27b205cc0298bf2d73da9a1d658a11cd4300c91
parent4d7e72970f770eb49627589fb142c93dfb6fd73b (diff)
downloadsncontinue-8c8f3f546ebfb10b23312e7cb980f16730ccc61f.tar.gz
sncontinue-8c8f3f546ebfb10b23312e7cb980f16730ccc61f.tar.bz2
sncontinue-8c8f3f546ebfb10b23312e7cb980f16730ccc61f.zip
cleaning
-rw-r--r--extension/react-app/src/components/ComboBox.tsx7
1 files changed, 3 insertions, 4 deletions
diff --git a/extension/react-app/src/components/ComboBox.tsx b/extension/react-app/src/components/ComboBox.tsx
index 22a6d000..fdd1e9b7 100644
--- a/extension/react-app/src/components/ComboBox.tsx
+++ b/extension/react-app/src/components/ComboBox.tsx
@@ -178,6 +178,9 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => {
};
})
);
+ })
+ .catch((err) => {
+ console.error(err);
});
return;
}
@@ -194,10 +197,6 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => {
});
useEffect(() => {
- console.log(
- "downshiftProps.highlightedIndex",
- downshiftProps.highlightedIndex
- );
if (downshiftProps.highlightedIndex < 0) {
downshiftProps.setHighlightedIndex(0);
}