fix: auth typos

This commit is contained in:
Mahyar Khanbolooki
2025-08-21 21:08:39 +03:30
parent 7fffa543b3
commit d621d59b8b
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ function AuthIndex ({}: Props) {
mustLogin: !number.endsWith('0')
})
if (number.endsWith('0')) {
router.push('auth/login')
router.push('auth/signup')
} else {
router.push('auth/login')
}
@@ -131,7 +131,11 @@ function StepNewPassword ({
</div>
<Button
disabled={
disabled || hasError() || hasError(error2) || value.length <= 0
disabled ||
hasError() ||
hasError(error2) ||
value.length <= 0 ||
repeatValue.length <= 0
}
pending={pending}
type='submit'