Skip to content

Commit

Permalink
remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ashland3000 authored and capture120 committed Apr 17, 2024
1 parent 7789fd8 commit 1ccee74
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions frontend/pages/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -63,8 +62,6 @@ const Profile = () => {
})
}, []);

console.log(user.id)

return (
<ScrollView className='bg-white'>
<View className='flex flex-col space-y-2'>
Expand Down
2 changes: 0 additions & 2 deletions frontend/services/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export const getAllUsers = async (): Promise<User[]> => {
const response: AxiosResponse<User[]> = await axios.get<User[]>(
`http://${API_LINK}/users`,
);
// console.log(response.data);
return response.data;
};

Expand All @@ -24,6 +23,5 @@ export const registerUser = async (
LongTermGoals: longTermGoals,
},
);
// console.log(JSON.stringify(response));
return response.data;
};

0 comments on commit 1ccee74

Please sign in to comment.