There was an error while loading. Please reload this page.
1 parent c7c8898 commit a7c52ecCopy full SHA for a7c52ec
1 file changed
libs/storefront-data/src/auth/hooks.ts
@@ -159,9 +159,6 @@ export function createAuthHooks<
159
mutationFn: () => service.logout(),
160
onSuccess: () => {
161
queryClient.setQueryData(resolvedQueryKeys.customer(), null)
162
- queryClient.invalidateQueries({
163
- queryKey: resolvedQueryKeys.all(),
164
- })
165
queryClient.removeQueries({
166
queryKey: resolvedQueryKeys.all(),
167
})
0 commit comments