diff --git a/api/apiFunctions.ts b/api/apiFunctions.ts index 2c6880aa..93041dd3 100644 --- a/api/apiFunctions.ts +++ b/api/apiFunctions.ts @@ -100,7 +100,6 @@ export async function resetPassword({ try { await account.updatePassword(newPassword, oldPassword); } catch (error) { - console.error('Password reset failed:', error); throw error; } } @@ -141,7 +140,6 @@ export async function updateUserEmail({ }, ); } catch (error) { - console.error('Error updating user email:', error); throw error; } } diff --git a/app/(main)/account/settings/page.tsx b/app/(main)/account/settings/page.tsx index d773babc..29777fe8 100644 --- a/app/(main)/account/settings/page.tsx +++ b/app/(main)/account/settings/page.tsx @@ -45,7 +45,7 @@ const AccountSettings = (): JSX.Element => { diff --git a/components/Nav/Nav.test.tsx b/components/Nav/Nav.test.tsx index 334c851d..74fc9655 100644 --- a/components/Nav/Nav.test.tsx +++ b/components/Nav/Nav.test.tsx @@ -67,11 +67,10 @@ describe('Nav', () => { it('renders link to /league/all', async () => { render(