Improved the email verification a tiny bit
This commit is contained in:
@@ -30,7 +30,6 @@ export default function EmailVerification({user, isLoading, setIsLoading}: Props
|
||||
|
||||
return (
|
||||
<>
|
||||
<Divider className="max-w-xs lg:max-w-md" />
|
||||
<div className="flex flex-col items-center gap-6 w-full -lg:px-8 lg:w-1/2 relative">
|
||||
<h4 className="font-semibold text-2xl text-mti-purple-light">Please confirm your account!</h4>
|
||||
<span className="text-center">
|
||||
|
||||
@@ -52,7 +52,7 @@ export default function Reset({code, mode, apiKey, continueUrl}: {code: string;
|
||||
if (response.data.ok) {
|
||||
toast.success("Your account has been verified!", {toastId: "verify-successful"});
|
||||
setTimeout(() => {
|
||||
router.push("/");
|
||||
router.reload();
|
||||
}, 1000);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user