Remove default options that are interfering

This commit is contained in:
Manav Rathi
2024-09-11 10:22:51 +05:30
parent 79cd1dd0d1
commit 558b9e0b70

View File

@@ -279,7 +279,6 @@ const SearchInput: React.FC<SearchInputProps> = ({
inputValue={inputValue}
onInputChange={handleInputChange}
styles={SelectStyles}
defaultOptions={isMLEnabled() ? defaultOptions : []}
noOptionsMessage={({ inputValue }) =>
shouldShowEmptyState(inputValue) ? (
<EmptyState onSelectCGroup={handleSelectCGroup} />