Skip to content

Commit

Permalink
Add refresh schedule (#8665)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdraier authored Nov 15, 2024
1 parent f7f016d commit dd5b9e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extension/app/src/components/auth/useAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const useAuthHook = () => {
return;
}
setTokens(savedTokens);
scheduleTokenRefresh(savedTokens.expiresAt);
}, [handleLogout]);

const scheduleTokenRefresh = useCallback(
Expand Down

0 comments on commit dd5b9e7

Please sign in to comment.