diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-09-23 13:38:51 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-09-23 13:38:51 -0700 |
commit | 32d1149692c26eb966693f03db6d9cf496ba57a4 (patch) | |
tree | 6d25e09f19456ccb6ca8c51292a91603978dcf9c /extension/react-app/src/components | |
parent | c081b1467720fcf048e8ef7faac5a5f90c5f308d (diff) | |
download | sncontinue-32d1149692c26eb966693f03db6d9cf496ba57a4.tar.gz sncontinue-32d1149692c26eb966693f03db6d9cf496ba57a4.tar.bz2 sncontinue-32d1149692c26eb966693f03db6d9cf496ba57a4.zip |
fix: :bug: small bug fix
Diffstat (limited to 'extension/react-app/src/components')
-rw-r--r-- | extension/react-app/src/components/ComboBox.tsx | 2 |
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(""); |