From c29bddf6a474e8fd6f0453d4229d18bae1e1c54c Mon Sep 17 00:00:00 2001 From: gdbroman <99gustaf@gmail.com> Date: Wed, 17 Apr 2024 15:18:13 +0200 Subject: [PATCH] Remove onback on login --- hosting-holium-com/src/pages/index.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/hosting-holium-com/src/pages/index.tsx b/hosting-holium-com/src/pages/index.tsx index 47010917b..a3524a1f4 100644 --- a/hosting-holium-com/src/pages/index.tsx +++ b/hosting-holium-com/src/pages/index.tsx @@ -37,8 +37,6 @@ export default function Login({ prefilledEmail, redirectAfterLogin }: Props) { const forgotPassword = useToggle(false); const resetPassword = useToggle(false); - const onBack = () => goToPage('/'); - const onForgotPassword = async (email: string) => { const response = await thirdEarthApi.forgotPassword(email); @@ -104,7 +102,6 @@ export default function Login({ prefilledEmail, redirectAfterLogin }: Props) { forgotPassword.toggleOn()} />} - onBack={onBack} onLogin={onLogin} />