diff --git a/src/components/NewsletterOverlay.tsx b/src/components/NewsletterOverlay.tsx index cc56cdb..e0db03f 100644 --- a/src/components/NewsletterOverlay.tsx +++ b/src/components/NewsletterOverlay.tsx @@ -105,7 +105,6 @@ function MondayAdminReminder() { const todayKey = new Date().toISOString().slice(0, 10); const isAdmin = isAdminPubkey(user?.pubkey); const alreadyDismissedToday = dismissed === todayKey; - const isMapPage = location.pathname === '/' || location.pathname === '/map'; if ( !isAdmin || @@ -119,10 +118,12 @@ function MondayAdminReminder() { return (