From 1ccee7486104db111ea77b2b6fc20b3332e5aa4b Mon Sep 17 00:00:00 2001 From: Jakob Philippe Date: Wed, 17 Apr 2024 17:20:32 -0400 Subject: [PATCH] remove console logs --- frontend/pages/Profile.tsx | 3 --- frontend/services/users.ts | 2 -- 2 files changed, 5 deletions(-) diff --git a/frontend/pages/Profile.tsx b/frontend/pages/Profile.tsx index 5373ded4..e82f4b9d 100644 --- a/frontend/pages/Profile.tsx +++ b/frontend/pages/Profile.tsx @@ -49,7 +49,6 @@ const Profile = () => { }) return navigation.addListener('focus', () => { - console.log(`Profile Page | session token: ${session?.getToken()}`); if (session?.user.username === undefined) { /* Unsure why casting to never is required, issue to look into */ navigation.navigate('Signin' as never); @@ -63,8 +62,6 @@ const Profile = () => { }) }, []); - console.log(user.id) - return ( diff --git a/frontend/services/users.ts b/frontend/services/users.ts index 174a5c34..e3836fdd 100644 --- a/frontend/services/users.ts +++ b/frontend/services/users.ts @@ -7,7 +7,6 @@ export const getAllUsers = async (): Promise => { const response: AxiosResponse = await axios.get( `http://${API_LINK}/users`, ); - // console.log(response.data); return response.data; }; @@ -24,6 +23,5 @@ export const registerUser = async ( LongTermGoals: longTermGoals, }, ); - // console.log(JSON.stringify(response)); return response.data; };