From 79a6128be79e1507683b41a6e12b4c4ae813c3fa Mon Sep 17 00:00:00 2001 From: Anton Date: Thu, 14 Sep 2023 14:37:21 +0200 Subject: [PATCH] fix og-meta-tags --- src/Components/Map/Layer.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Components/Map/Layer.tsx b/src/Components/Map/Layer.tsx index 793cf53e..e4760bae 100644 --- a/src/Components/Map/Layer.tsx +++ b/src/Components/Map/Layer.tsx @@ -73,7 +73,6 @@ export const Layer = (props: LayerProps) => { const item = leafletRefs[id]?.item; document.title = document.title.split("-")[0] + " - " + item.name; document.querySelector('meta[property="og:title"]')?.setAttribute("content", item.name); - document.querySelector('meta[property="og:site_name"]')?.setAttribute("content", item.name); document.querySelector('meta[property="og:description"]')?.setAttribute("content", item.text); } }