fix: final review feedback

- Fix copy: 'Click below' instead of 'Enter your email below' (email field not visible yet)
- Encode 'Missing verification code' error param for consistency
This commit is contained in:
Bentlybro
2026-02-16 12:21:13 +00:00
parent 7366a51d92
commit 1f9a8489f7
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ export async function GET(request: NextRequest) {
if (!code) {
return NextResponse.redirect(
`${origin}/reset-password?error=Missing verification code`,
`${origin}/reset-password?error=${encodeURIComponent("Missing verification code")}`,
);
}

View File

@@ -13,7 +13,7 @@ export function ExpiredLinkMessage({ onRequestNewLink }: Props) {
Your reset password link has expired or has already been used
</Text>
<Text variant="body-medium" className="text-center text-muted-foreground">
Enter your email below to request a new password reset link.
Click below to request a new password reset link.
</Text>
<Button variant="primary" onClick={onRequestNewLink} className="w-full">
Request a New Link