diff options
Diffstat (limited to 'frontend/src/components/modals/DropdownMultiselect.tsx')
| -rw-r--r-- | frontend/src/components/modals/DropdownMultiselect.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/modals/DropdownMultiselect.tsx b/frontend/src/components/modals/DropdownMultiselect.tsx index 4c5cf7b1..255c6fa0 100644 --- a/frontend/src/components/modals/DropdownMultiselect.tsx +++ b/frontend/src/components/modals/DropdownMultiselect.tsx @@ -59,7 +59,7 @@ const DropdownMultiselect: FC<{ const [itemsSelected, setItemsSelected] = useState<any>(selected); const { t } = useTranslation(); - const handleItemSelect = useCallback((checked, value) => { + const handleItemSelect = useCallback((checked: boolean, value: any) => { setItemsSelected((x: any) => checked ? [...x.filter((y: any) => y !== value), value] : x.filter((y: any) => y !== value), ); |
