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;