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);