diff --git a/apps/admin-x-settings/src/components/settings/email/Newsletters.tsx b/apps/admin-x-settings/src/components/settings/email/Newsletters.tsx index 708c5c5f68..b711752646 100644 --- a/apps/admin-x-settings/src/components/settings/email/Newsletters.tsx +++ b/apps/admin-x-settings/src/components/settings/email/Newsletters.tsx @@ -42,7 +42,7 @@ const Newsletters: React.FC<{ keywords: string[] }> = ({keywords}) => { }, [apiNewsletters]); useEffect(() => { - if (!verifyEmailToken) { + if (!verifyEmailToken || !window.location.href.includes('newsletters')) { return; }