From fd5f07fd2c7abcac960cd4a3a1d8d5eaab8c98c7 Mon Sep 17 00:00:00 2001
From: Lncvrt
Date: Fri, 30 Jan 2026 20:58:24 -0700
Subject: [PATCH] Make this how it should be
---
src/app/account/reset-password/page.tsx | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/app/account/reset-password/page.tsx b/src/app/account/reset-password/page.tsx
index 6168904..9853fe8 100644
--- a/src/app/account/reset-password/page.tsx
+++ b/src/app/account/reset-password/page.tsx
@@ -24,7 +24,7 @@ function ResetPasswordForm ({ codeParam }: { codeParam: string }) {
? 'Verify you are human to reset your password'
: 'Lncvrt Games password reset'}
- {result == -1 && (
+ {result == -1 ? (
{
@@ -34,15 +34,7 @@ function ResetPasswordForm ({ codeParam }: { codeParam: string }) {
onError={() => setResult(1)}
className='flex justify-center'
/>
- )}
- {(result == 1 || result == 2) && (
-
- {result == 1
- ? 'Unable to verify captcha, please reload page.'
- : 'Password reset sucessfully'}
-
- )}
- {result == 0 && (
+ ) : result == 0 ? (
+ ) : (
+ (result == 1 || result == 2) && (
+
+ {result == 1
+ ? 'Unable to verify captcha, please reload page.'
+ : 'Password reset sucessfully'}
+
+ )
)}
)