Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
fix: show based on the Gm and not on Shared (#4627)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorrik-Klijnsma-Work authored Jan 26, 2023
1 parent 3231a9d commit 55c7039
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/app/src/pages/gemeente/[code]/sterfte.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const DeceasedMunicipalPage = (props: StaticProps<typeof getStaticProps>) => {
const [deceasedMunicipalTimeframe, setDeceasedMunicipalTimeframe] = useState<TimeframeOption>(TimeframeOption.ALL);

const { commonTexts } = useIntl();
const { textGm, textShared } = useDynamicLokalizeTexts<LokalizeTexts>(pageText, selectLokalizeTexts);
const { textGm } = useDynamicLokalizeTexts<LokalizeTexts>(pageText, selectLokalizeTexts);

const metadata = {
...commonTexts.gemeente_index.metadata,
Expand All @@ -70,7 +70,7 @@ const DeceasedMunicipalPage = (props: StaticProps<typeof getStaticProps>) => {
}),
};

const hasActiveWarningTile = !!textShared.notification.message;
const hasActiveWarningTile = !!textGm.notification.message;

const lastInsertionDateOfPage = getLastInsertionDateOfPage(data, pageMetrics);

Expand Down

0 comments on commit 55c7039

Please sign in to comment.