Skip to content

Commit

Permalink
Merge pull request #2124 from holium/remove-onback-on-login
Browse files Browse the repository at this point in the history
Remove onback on login
  • Loading branch information
gdbroman authored Apr 17, 2024
2 parents 6e8e19f + c67e565 commit fd7dec5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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
1 change: 1 addition & 0 deletions shared/src/onboarding/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ type OnboardingSignupPage =
export type OnboardingPage = OnboardingAccountPage | OnboardingSignupPage;

export type RealmOnboardingStep =
| '/login'
| '/add-identity'
| '/passport'
| '/hosting'
Expand Down

0 comments on commit fd7dec5

Please sign in to comment.