From 32d1149692c26eb966693f03db6d9cf496ba57a4 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Sat, 23 Sep 2023 13:38:51 -0700 Subject: fix: :bug: small bug fix --- extension/react-app/src/components/ComboBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extension/react-app') 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(""); -- cgit v1.2.3-70-g09d2