From c2a807efc7a17c4328391db93701f46107e691c7 Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Tue, 14 Nov 2023 15:57:30 +0000 Subject: [PATCH] Improved the email verification a tiny bit --- src/pages/(auth)/EmailVerification.tsx | 1 - src/pages/action.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/(auth)/EmailVerification.tsx b/src/pages/(auth)/EmailVerification.tsx index 79213ab3..930c0c73 100644 --- a/src/pages/(auth)/EmailVerification.tsx +++ b/src/pages/(auth)/EmailVerification.tsx @@ -30,7 +30,6 @@ export default function EmailVerification({user, isLoading, setIsLoading}: Props return ( <> -

Please confirm your account!

diff --git a/src/pages/action.tsx b/src/pages/action.tsx index 0d568a24..1a1046c7 100644 --- a/src/pages/action.tsx +++ b/src/pages/action.tsx @@ -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; }