Enable session focus revalidation (#350)
This commit is contained in:
parent
8751f32d27
commit
97ec2cc6cb
@ -88,7 +88,6 @@ export function UserProvider({ children }: { children: React.ReactNode }) {
|
||||
isLoading,
|
||||
mutate,
|
||||
} = useSWR<User | null>(SESSION_CACHE_KEY, fetchSessionUser, {
|
||||
revalidateOnFocus: false,
|
||||
shouldRetryOnError: false,
|
||||
})
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user