We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dae3ed commit b5edb5cCopy full SHA for b5edb5c
src/components/auth/auth-form.tsx
@@ -127,7 +127,7 @@ export function AuthForm({
127
if (view === "callback") return <AuthCallback redirectTo={redirectTo} />
128
129
if (view === "signIn") {
130
- return credentials || !magicLink ? (
+ return credentials ? (
131
<SignInForm
132
className={className}
133
classNames={classNames}
@@ -136,7 +136,7 @@ export function AuthForm({
136
isSubmitting={isSubmitting}
137
setIsSubmitting={setIsSubmitting}
138
/>
139
- ) : (
+ ) : magicLink ? (
140
<MagicLinkForm
141
142
@@ -146,7 +146,7 @@ export function AuthForm({
146
147
148
149
- )
+ ) : null
150
}
151
152
if (view === "twoFactor") {
0 commit comments