···1414 // Do UI related things like redirects or showing toast notifications in mutate callbacks. If the user navigated away from the current screen before the mutation finished, those will purposefully not fire
1515 // https://tkdodo.eu/blog/mastering-mutations-in-react-query#some-callbacks-might-not-fire
1616 onSuccess: () => {
1717- queryClient.invalidateQueries({ queryKey: collectionKeys.infinite() });
1717+ queryClient.invalidateQueries({ queryKey: collectionKeys.all() });
1818 queryClient.refetchQueries({ queryKey: collectionKeys.mine() });
1919 },
2020 });