Skip to content

Commit 6e6e96b

Browse files
Move status on login page
1 parent 304fc32 commit 6e6e96b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/js/pages/auth/login.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ export default function Login({ status, canResetPassword }: LoginProps) {
3939
<AuthLayout title="Log in to your account" description="Enter your email and password below to log in">
4040
<Head title="Log in" />
4141

42-
{status && <div className="mb-4 text-center text-sm font-medium text-green-600">{status}</div>}
43-
4442
<form className="flex flex-col gap-6" onSubmit={submit}>
4543
<div className="grid gap-6">
4644
<div className="grid gap-2">
@@ -99,6 +97,8 @@ export default function Login({ status, canResetPassword }: LoginProps) {
9997
</TextLink>
10098
</div>
10199
</form>
100+
101+
{status && <div className="mb-4 text-center text-sm font-medium text-green-600">{status}</div>}
102102
</AuthLayout>
103103
);
104104
}

0 commit comments

Comments
 (0)