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 ? (
{ @@ -105,6 +97,14 @@ function ResetPasswordForm ({ codeParam }: { codeParam: string }) { />
+ ) : ( + (result == 1 || result == 2) && ( +

+ {result == 1 + ? 'Unable to verify captcha, please reload page.' + : 'Password reset sucessfully'} +

+ ) )} )