Skip to content

Commit 27c8693

Browse files
authored
Adding fix to status message notification (#20)
1 parent 01fe623 commit 27c8693

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resources/js/pages/auth/forgot-password.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ export default function ForgotPassword({ status }: { status?: string }) {
2525
<AuthLayout title="Forgot password" description="Enter your email to receive a password reset link">
2626
<Head title="Forgot password" />
2727

28+
{status && <div className="mb-4 text-center text-sm font-medium text-green-600">{status}</div>}
29+
2830
<div className="space-y-6">
2931
<form onSubmit={submit}>
3032
<div className="grid gap-2">
@@ -50,7 +52,6 @@ export default function ForgotPassword({ status }: { status?: string }) {
5052
</Button>
5153
</div>
5254

53-
{status && <div className="mb-4 text-center text-sm font-medium text-green-600">{status}</div>}
5455
</form>
5556

5657
<div className="text-muted-foreground space-x-1 text-center text-sm">

0 commit comments

Comments
 (0)