diff --git a/web/src/screens/filters/list.tsx b/web/src/screens/filters/list.tsx index ec4b8a1..8ac5c7b 100644 --- a/web/src/screens/filters/list.tsx +++ b/web/src/screens/filters/list.tsx @@ -652,8 +652,7 @@ function FilterListItem({ filter, values, idx }: FilterListItemProps) { const updateMutation = useMutation({ mutationFn: (status: boolean) => APIClient.filters.toggleEnable(filter.id, status), onSuccess: () => { - toast.custom((t) => ); - + toast.custom((t) => ); // We need to invalidate both keys here. // The filters key is used on the /filters page, // while the ["filter", filter.id] key is used on the details page.