File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ export function AuthForm({
127
127
if ( view === "callback" ) return < AuthCallback redirectTo = { redirectTo } />
128
128
129
129
if ( view === "signIn" ) {
130
- return credentials || ! magicLink ? (
130
+ return credentials ? (
131
131
< SignInForm
132
132
className = { className }
133
133
classNames = { classNames }
@@ -136,7 +136,7 @@ export function AuthForm({
136
136
isSubmitting = { isSubmitting }
137
137
setIsSubmitting = { setIsSubmitting }
138
138
/>
139
- ) : (
139
+ ) : magicLink ? (
140
140
< MagicLinkForm
141
141
className = { className }
142
142
classNames = { classNames }
@@ -146,7 +146,7 @@ export function AuthForm({
146
146
isSubmitting = { isSubmitting }
147
147
setIsSubmitting = { setIsSubmitting }
148
148
/>
149
- )
149
+ ) : null
150
150
}
151
151
152
152
if ( view === "twoFactor" ) {
You can’t perform that action at this time.
0 commit comments