summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extension/react-app/src/components/ComboBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/react-app/src/components/ComboBox.tsx b/extension/react-app/src/components/ComboBox.tsx
index e63499bc..f26acdaf 100644
--- a/extension/react-app/src/components/ComboBox.tsx
+++ b/extension/react-app/src/components/ComboBox.tsx
@@ -264,7 +264,7 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => {
// Hacky way of stopping bug where first context provider title is injected into input
if (
prevInputValue === "" &&
- contextProviders.some((p) => p.display_title === inputValue)
+ contextProviders?.some((p) => p.display_title === inputValue)
) {
downshiftProps.setInputValue("");
setPrevInputValue("");