-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: change logout and refresh token to use useQuery (#2999)
✨ (headerComponent/index.tsx): Add functionality to handle user logout in the header component 🔧 (api.tsx): Add useLogout and useRefreshAccessToken functions to handle user logout and access token refresh 🔧 (use-post-logout.ts): Implement useLogout function to handle user logout functionality 🔧 (use-post-refresh-access.ts): Implement useRefreshAccessToken function to handle access token refresh 🔧 (authStore.ts): Remove unnecessary imports and update the authStore functionality for user logout and access token management. Co-authored-by: anovazzi1 <[email protected]>
- Loading branch information
1 parent
1710bca
commit 9903b44
Showing
6 changed files
with
43 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters