Improved the email verification a tiny bit

This commit is contained in:
Tiago Ribeiro
2023-11-14 15:57:30 +00:00
parent 6056735c72
commit c2a807efc7
2 changed files with 1 additions and 2 deletions

View File

@@ -30,7 +30,6 @@ export default function EmailVerification({user, isLoading, setIsLoading}: Props
return ( 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"> <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> <h4 className="font-semibold text-2xl text-mti-purple-light">Please confirm your account!</h4>
<span className="text-center"> <span className="text-center">

View File

@@ -52,7 +52,7 @@ export default function Reset({code, mode, apiKey, continueUrl}: {code: string;
if (response.data.ok) { if (response.data.ok) {
toast.success("Your account has been verified!", {toastId: "verify-successful"}); toast.success("Your account has been verified!", {toastId: "verify-successful"});
setTimeout(() => { setTimeout(() => {
router.push("/"); router.reload();
}, 1000); }, 1000);
return; return;
} }