diff --git a/src/react/client.tsx b/src/react/client.tsx index 963c308..847a8ba 100644 --- a/src/react/client.tsx +++ b/src/react/client.tsx @@ -110,7 +110,7 @@ export function AuthProvider({ }; return fetchWithRetry(); - }, [client]); + }, [authClient, logVerbose]); const fetchAccessToken = useCallback( async ({ forceRefreshToken }: { forceRefreshToken: boolean }) => {