From 55c7039faed34e7aaea50ed553310e6fa6bbabfd Mon Sep 17 00:00:00 2001 From: J <93984341+VWSCoronaDashboard18@users.noreply.github.com> Date: Thu, 26 Jan 2023 17:00:25 +0100 Subject: [PATCH] fix: show based on the Gm and not on Shared (#4627) --- packages/app/src/pages/gemeente/[code]/sterfte.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app/src/pages/gemeente/[code]/sterfte.tsx b/packages/app/src/pages/gemeente/[code]/sterfte.tsx index 2ddb226393..f80cec2b5b 100644 --- a/packages/app/src/pages/gemeente/[code]/sterfte.tsx +++ b/packages/app/src/pages/gemeente/[code]/sterfte.tsx @@ -58,7 +58,7 @@ const DeceasedMunicipalPage = (props: StaticProps) => { const [deceasedMunicipalTimeframe, setDeceasedMunicipalTimeframe] = useState(TimeframeOption.ALL); const { commonTexts } = useIntl(); - const { textGm, textShared } = useDynamicLokalizeTexts(pageText, selectLokalizeTexts); + const { textGm } = useDynamicLokalizeTexts(pageText, selectLokalizeTexts); const metadata = { ...commonTexts.gemeente_index.metadata, @@ -70,7 +70,7 @@ const DeceasedMunicipalPage = (props: StaticProps) => { }), }; - const hasActiveWarningTile = !!textShared.notification.message; + const hasActiveWarningTile = !!textGm.notification.message; const lastInsertionDateOfPage = getLastInsertionDateOfPage(data, pageMetrics);