修复钱包相关功能
This commit is contained in:
@@ -62,7 +62,7 @@ const SetTransactionPassword: React.FC = () => {
|
||||
const { new_password, confirm_password, sms_code } = formData;
|
||||
if (handleType === "set") {
|
||||
setValid(
|
||||
!sms_code && new_password.length === 6 && confirm_password.length === 6
|
||||
!!sms_code && new_password.length === 6 && confirm_password.length === 6
|
||||
);
|
||||
} else {
|
||||
setValid(new_password.length === 6 && confirm_password.length === 6);
|
||||
|
||||
Reference in New Issue
Block a user