continue button
Gitea/subman-nextjs/pipeline/head This commit looks good
Details
Gitea/subman-nextjs/pipeline/head This commit looks good
Details
for times when redirect doesn't work
This commit is contained in:
parent
65c23d4872
commit
da361e0f55
|
@ -46,7 +46,12 @@ export default function LoginForm() {
|
|||
|
||||
return (
|
||||
<>
|
||||
{submitted ? <p>Logging in...</p> :
|
||||
{submitted ? <div className="flex flex-col items-center justify-around h-30 w-26">
|
||||
<h1>Logging in...</h1>
|
||||
<Button asChild>
|
||||
<Link href={redirect}>Continue</Link>
|
||||
</Button>
|
||||
</div> :
|
||||
<Form {...form}>
|
||||
<form onSubmit={onSubmit} className="mt-20 flex flex-col items-center space-y-6">
|
||||
<FormField
|
||||
|
|
Loading…
Reference in New Issue