diff --git a/apps/frontend/app/admin/_components/GroupSelect.tsx b/apps/frontend/app/admin/_components/GroupSelect.tsx index fce80cbc52..204e249f66 100644 --- a/apps/frontend/app/admin/_components/GroupSelect.tsx +++ b/apps/frontend/app/admin/_components/GroupSelect.tsx @@ -5,7 +5,8 @@ import { Command, CommandEmpty, CommandGroup, - CommandItem + CommandItem, + CommandList } from '@/components/ui/command' import { Popover, @@ -56,28 +57,30 @@ export default function GroupSelect() { - No group found. - - {groups.map((framework) => ( - { - setValue(currentValue === value ? '' : currentValue) - setOpen(false) - }} - > - - {framework.label} - - ))} - + + No group found. + + {groups.map((framework) => ( + { + setValue(currentValue === value ? '' : currentValue) + setOpen(false) + }} + > + + {framework.label} + + ))} + + diff --git a/apps/frontend/components/CheckboxSelect.tsx b/apps/frontend/components/CheckboxSelect.tsx index 44f12573ba..25a033bf9b 100644 --- a/apps/frontend/components/CheckboxSelect.tsx +++ b/apps/frontend/components/CheckboxSelect.tsx @@ -7,7 +7,8 @@ import { Command, CommandEmpty, CommandGroup, - CommandItem + CommandItem, + CommandList } from '@/components/ui/command' import { Popover, @@ -91,18 +92,20 @@ export default function LanguageSelect({ - No language found. - - {options.map((option) => ( - - handleCheckboxChange(option)} - > - {option} - - ))} - + + No language found. + + {options.map((option) => ( + + handleCheckboxChange(option)} + > + {option} + + ))} + + diff --git a/apps/frontend/components/DataTableLangFilter.tsx b/apps/frontend/components/DataTableLangFilter.tsx index f594c4ff29..01a3cfb2f4 100644 --- a/apps/frontend/components/DataTableLangFilter.tsx +++ b/apps/frontend/components/DataTableLangFilter.tsx @@ -5,7 +5,8 @@ import { Command, CommandEmpty, CommandGroup, - CommandItem + CommandItem, + CommandList } from '@/components/ui/command' import { Popover, @@ -73,28 +74,30 @@ export default function DataTableLangFilter({ - No language found. - - {options.map((option) => ( - - { - if (selectedValues.has(option)) { - selectedValues.delete(option) - } else { - selectedValues.add(option) - } - const filterValues = Array.from(selectedValues) - column?.setFilterValue( - filterValues.length ? filterValues : undefined - ) - }} - /> - {option} - - ))} - + + No language found. + + {options.map((option) => ( + + { + if (selectedValues.has(option)) { + selectedValues.delete(option) + } else { + selectedValues.add(option) + } + const filterValues = Array.from(selectedValues) + column?.setFilterValue( + filterValues.length ? filterValues : undefined + ) + }} + /> + {option} + + ))} + +