From 9a0870dbbc593f37a5e6ffe0de4016f5f098fa50 Mon Sep 17 00:00:00 2001 From: LandaMm Date: Sat, 7 Jun 2025 11:41:52 +0200 Subject: [PATCH] fix: let user see verify welcome message --- web/src/layout/VerificationLayout.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web/src/layout/VerificationLayout.tsx b/web/src/layout/VerificationLayout.tsx index 8403090..1991009 100644 --- a/web/src/layout/VerificationLayout.tsx +++ b/web/src/layout/VerificationLayout.tsx @@ -54,7 +54,11 @@ const VerificationLayout: FC = () => { } }, [navigate, redirect, step]); - if (step === "email" && !location.pathname.startsWith("/verify/email")) { + if ( + step === "email" && + !location.pathname.startsWith("/verify/email") && + location.pathname.replace(/\/$/i, "") !== "/verify" + ) { return ; }