fix: auth typos
This commit is contained in:
@@ -74,7 +74,7 @@ function AuthIndex ({}: Props) {
|
|||||||
mustLogin: !number.endsWith('0')
|
mustLogin: !number.endsWith('0')
|
||||||
})
|
})
|
||||||
if (number.endsWith('0')) {
|
if (number.endsWith('0')) {
|
||||||
router.push('auth/login')
|
router.push('auth/signup')
|
||||||
} else {
|
} else {
|
||||||
router.push('auth/login')
|
router.push('auth/login')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -131,7 +131,11 @@ function StepNewPassword ({
|
|||||||
</div>
|
</div>
|
||||||
<Button
|
<Button
|
||||||
disabled={
|
disabled={
|
||||||
disabled || hasError() || hasError(error2) || value.length <= 0
|
disabled ||
|
||||||
|
hasError() ||
|
||||||
|
hasError(error2) ||
|
||||||
|
value.length <= 0 ||
|
||||||
|
repeatValue.length <= 0
|
||||||
}
|
}
|
||||||
pending={pending}
|
pending={pending}
|
||||||
type='submit'
|
type='submit'
|
||||||
|
|||||||
Reference in New Issue
Block a user