Skip to content

Commit

Permalink
chore(developer): revert specific key and add refetch all
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed May 14, 2024
1 parent 905b286 commit 50d7394
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/developer/src/components/page/Key.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ export const Component = () => {
const cancelAndInvalidate = async () => {
await queryClient.cancelQueries();
queryClient.invalidateQueries({
queryKey: ['my keys', loaderData.user.uid],
queryKey: ['my keys'],
refetchType: 'all',
});

prefetchKeys();
Expand Down

0 comments on commit 50d7394

Please sign in to comment.