From 08d65fba09e9459ca9c41d62c53e5c174903ded4 Mon Sep 17 00:00:00 2001 From: VWSCoronaDashboard26 Date: Fri, 31 Mar 2023 16:33:39 +0200 Subject: [PATCH] feat(elderly-at-home): removed getLink prop from dynamic choropleth; removed any other associated dependencies; --- packages/app/src/pages/landelijk/thuiswonende-ouderen.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/app/src/pages/landelijk/thuiswonende-ouderen.tsx b/packages/app/src/pages/landelijk/thuiswonende-ouderen.tsx index 76531e4644..06f4648fdf 100644 --- a/packages/app/src/pages/landelijk/thuiswonende-ouderen.tsx +++ b/packages/app/src/pages/landelijk/thuiswonende-ouderen.tsx @@ -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'; @@ -83,8 +82,6 @@ function ElderlyAtHomeNationalPage(props: StaticProps) { const { commonTexts, formatNumber } = useIntl(); const { metadataTexts, textShared, textNl } = useDynamicLokalizeTexts(pageText, selectLokalizeTexts); - const reverseRouter = useReverseRouter(); - const metadata = { ...metadataTexts, title: textNl.metadata.title, @@ -210,9 +207,7 @@ function ElderlyAtHomeNationalPage(props: StaticProps) { positive_tested_daily_per_100k: formatNumber, }, }} - dataOptions={{ - getLink: reverseRouter.vr.thuiswonendeOuderen, - }} + dataOptions={{}} />