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

feature/COR-1478-non-clickable-choropleth #4721

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions packages/app/src/pages/landelijk/thuiswonende-ouderen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import { createGetStaticProps, StaticProps } from '~/static-props/create-get-sta
import { createGetChoroplethData, createGetContent, getLastGeneratedDate, selectNlData, getLokalizeTexts } from '~/static-props/get-data';
import { ArticleParts, PagePartQueryResult } from '~/types/cms';
import { getBoundaryDateStartUnix } from '~/utils/get-boundary-date-start-unix';
import { useReverseRouter } from '~/utils/use-reverse-router';
import { getLastInsertionDateOfPage } from '~/utils/get-last-insertion-date-of-page';
import { useDynamicLokalizeTexts } from '~/utils/cms/use-dynamic-lokalize-texts';

Expand Down Expand Up @@ -83,8 +82,6 @@ function ElderlyAtHomeNationalPage(props: StaticProps<typeof getStaticProps>) {
const { commonTexts, formatNumber } = useIntl();
const { metadataTexts, textShared, textNl } = useDynamicLokalizeTexts<LokalizeTexts>(pageText, selectLokalizeTexts);

const reverseRouter = useReverseRouter();

const metadata = {
...metadataTexts,
title: textNl.metadata.title,
Expand Down Expand Up @@ -210,9 +207,7 @@ function ElderlyAtHomeNationalPage(props: StaticProps<typeof getStaticProps>) {
positive_tested_daily_per_100k: formatNumber,
},
}}
dataOptions={{
getLink: reverseRouter.vr.thuiswonendeOuderen,
}}
dataOptions={{}}
/>
</ChoroplethTile>
<Divider />
Expand Down