Skip to content

Commit 28ee75a

Browse files
authored
Update LanguageFilter.tsx
1 parent a121369 commit 28ee75a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/LanguageFilter.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Select, { MultiValue } from "react-select";
1+
import Select from "react-select";
22
import { ColorStyles } from "./ColorStyles";
33

44
type LanguageFilterProps = {
@@ -16,7 +16,7 @@ export const LanguageFilter = ({ setSelectedLanguages, languageOptions }: Langua
1616
isMulti
1717
closeMenuOnSelect={false}
1818
className=""
19-
onChange={(selectedOptions: MultiValue<{ value: string; label: string }>) =>
19+
onChange={(selectedOptions) =>
2020
setSelectedLanguages(selectedOptions.map((option) => option.value))
2121
}
2222
options={languageOptions}

0 commit comments

Comments
 (0)