forked from 77media/video-flow
修复等旅
This commit is contained in:
parent
ee06ee3911
commit
828e374b9b
@ -19,7 +19,7 @@ export default function SignupPage() {
|
||||
const [confirmPasswordError, setConfirmPasswordError] = useState("");
|
||||
const [showPassword, setShowPassword] = useState(false);
|
||||
const [showConfirmPassword, setShowConfirmPassword] = useState(false);
|
||||
const [agreeToTerms, setAgreeToTerms] = useState(false);
|
||||
const [agreeToTerms, setAgreeToTerms] = useState(true);
|
||||
const router = useRouter();
|
||||
|
||||
/** Password validation function with English prompts */
|
||||
@ -342,10 +342,9 @@ export default function SignupPage() {
|
||||
!!passwordError ||
|
||||
!!confirmPasswordError ||
|
||||
!password ||
|
||||
!confirmPassword ||
|
||||
!agreeToTerms
|
||||
!confirmPassword
|
||||
}
|
||||
className="flex-1 py-3 rounded-lg cursor-pointer bg-[#C039F6] hover:bg-[#C039F6]/80 text-white font-medium transition-colors disabled:opacity-70"
|
||||
className="flex-1 py-3 rounded-lg cursor-pointer bg-[#C039F6] hover:bg-[#C039F6]/80 text-white font-medium transition-colors disabled:opacity-70 disabled:cursor-not-allowed"
|
||||
>
|
||||
{isSubmitting ? "Signing up..." : "Sign Up"}
|
||||
</button>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user