fix: auth typos
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user