Skip to content

Commit

Permalink
remove logging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
NyashaMuusha committed Sep 17, 2024
1 parent c099de6 commit 40aa3bc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion JeMPI_Apps/JeMPI_UI/src/hooks/useAuth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ export const AuthProvider = ({ children }: AuthProviderProps): JSX.Element => {
})

const setUser = (data: User | undefined) => {
console.log('User data:', data) // Add this to check the response
queryClient.setQueryData([currentUserOueryClientKey], data)
}

Expand Down
1 change: 0 additions & 1 deletion JeMPI_Apps/JeMPI_UI/src/services/ApiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,6 @@ export class ApiClient {

async getCurrentUser() {
const { data } = await this.client.get(ROUTES.CURRENT_USER)
console.log('Current User', data)
return typeof data === 'string' && data.length === 0 ? null : data
}

Expand Down

0 comments on commit 40aa3bc

Please sign in to comment.