测试增加邮件认证-debug

This commit is contained in:
sijinhui 2024-03-22 15:38:00 +08:00
parent c84e223ca5
commit f34375f13b

View File

@ -44,11 +44,9 @@ export default function UserLoginButton() {
});
}
setLoading(false);
console.log("------1", result);
// if (!result?.error) {
// console.log('------2',result)
// window.location.href = result?.url || "/";
// } else setError(true);
if (!result?.error) {
window.location.href = result?.url || "/";
} else setError(true);
};
useEffect(() => {