From 17e98116026f8e82fdb5b130d8cd5a9a67d3eccc Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Tue, 12 Aug 2025 22:12:30 -0400 Subject: [PATCH] return if setting pub title --- components/utils/UpdateLeafletTitle.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/utils/UpdateLeafletTitle.tsx b/components/utils/UpdateLeafletTitle.tsx index 4e97943b..15f99810 100644 --- a/components/utils/UpdateLeafletTitle.tsx +++ b/components/utils/UpdateLeafletTitle.tsx @@ -27,6 +27,7 @@ export function UpdateLeafletTitle(props: { entityID: string }) { useEffect(() => { if (pub?.title) { document.title = pub.title; + return; } if (title) { document.title = title; -- 2.51.2