From 118cdfc7833f901b4cb797cae4ae1704ebf133e1 Mon Sep 17 00:00:00 2001 From: BE <137172332+VWSCoronaDashboard29@users.noreply.github.com> Date: Wed, 4 Oct 2023 15:58:29 +0200 Subject: [PATCH] fix(COR-1809): Remove unused variable replacement (#4879) (#4893) Co-authored-by: VWSCoronaDashboard29 --- packages/app/src/pages/landelijk/vaccinaties.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/app/src/pages/landelijk/vaccinaties.tsx b/packages/app/src/pages/landelijk/vaccinaties.tsx index edf23e10d9..f91b91ced5 100644 --- a/packages/app/src/pages/landelijk/vaccinaties.tsx +++ b/packages/app/src/pages/landelijk/vaccinaties.tsx @@ -165,10 +165,6 @@ function VaccinationPage(props: StaticProps) { const lastInsertionDateOfPage = getLastInsertionDateOfPage(currentData, pageMetrics); - const variables = { - regio: commonTexts.choropleth.choropleth_vaccination_coverage.nl, - }; - return ( @@ -282,8 +278,8 @@ function VaccinationPage(props: StaticProps) { data={choropleth.gm} dataOptions={{ getLink: (gmcode) => reverseRouter.gm.vaccinaties(gmcode), isPercentage: true }} text={{ - title: replaceVariablesInText(commonTexts.choropleth.choropleth_vaccination_coverage.nl.title, variables), - description: replaceVariablesInText(commonTexts.choropleth.choropleth_vaccination_coverage.nl.description, variables), + title: commonTexts.choropleth.choropleth_vaccination_coverage.nl.title, + description: commonTexts.choropleth.choropleth_vaccination_coverage.nl.description, vaccinationKindLabel: commonTexts.choropleth.vaccination_coverage.shared.dropdown_label_vaccination_coverage_kind_select, ageGroupLabel: commonTexts.choropleth.vaccination_coverage.shared.dropdown_label_age_group_select, }}