Skip to content

Commit

Permalink
fix: login cancel link fix (#1749)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeevaRamu0104 authored Nov 15, 2024
1 parent ee8eee2 commit 06093d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/entryPoints/AuthModule/AuthModuleHooks.res
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,9 @@ let useNote = (authType, setAuthType) => {
<div
onClick={_ => {
let backState = switch authType {
| MagicLinkEmailSent => SignUP
| ForgetPasswordEmailSent => ForgetPassword
| ResendVerifyEmailSent => ResendVerifyEmail
| ForgetPassword | _ => LoginWithPassword
| ForgetPassword | MagicLinkEmailSent | _ => LoginWithEmail
}
setAuthType(_ => backState)
}}
Expand Down

0 comments on commit 06093d6

Please sign in to comment.