Skip to content

Commit

Permalink
refactor: Remove unused code and console logs in useApiClient hook
Browse files Browse the repository at this point in the history
  • Loading branch information
epixieme committed Sep 24, 2024
1 parent 157042f commit e7b29d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shared/hooks/useApiClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ function useApiClient() {
if (sessionId) {
headers['X-Session-Id'] = sessionId;
}
//customCookies is used to set cookies (In this instance it is the refresh token) for the request and remove them after the request is done.

if (customCookies) {
Object.entries(customCookies).forEach(([key, value]) => {
Expand Down

0 comments on commit e7b29d0

Please sign in to comment.