Skip to content

Commit

Permalink
Remove onback on login
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbroman committed Apr 17, 2024
1 parent b4c3e9f commit c29bddf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions hosting-holium-com/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -104,7 +102,6 @@ export default function Login({ prefilledEmail, redirectAfterLogin }: Props) {
<LoginDialog
prefilledEmail={prefilledEmail}
footer={<ForgotPassword onClick={() => forgotPassword.toggleOn()} />}
onBack={onBack}
onLogin={onLogin}
/>
</Page>
Expand Down

0 comments on commit c29bddf

Please sign in to comment.