Skip to content

Commit 4a98bd6

Browse files
feat(filter-form): remove LangSelect from home
1 parent 8e632fa commit 4a98bd6

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

components/filter-form.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import useTranslation from 'next-translate/useTranslation';
22

33
import AvailabilitySelect from 'components/availability-select';
4-
import LangSelect from 'components/lang-select';
54
import SearchIcon from 'components/icons/search';
65
import SubjectSelect from 'components/subject-select';
76

@@ -46,16 +45,6 @@ export default function FilterForm({
4645
value={query.availability}
4746
outlined
4847
/>
49-
<LangSelect
50-
className='field'
51-
label={t('query3rd:langs')}
52-
placeholder={t('common:langs-placeholder')}
53-
onChange={(langs) =>
54-
onChange((prev) => new UsersQuery({ ...prev, langs, page: 0 }))
55-
}
56-
value={query.langs}
57-
outlined
58-
/>
5948
{onSubmit && (
6049
<button className='reset button' type='submit'>
6150
<SearchIcon />

0 commit comments

Comments
 (0)