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

Commit

Permalink
fix(COR-1809): Remove unused variable replacement (#4879) (#4893)
Browse files Browse the repository at this point in the history
Co-authored-by: VWSCoronaDashboard29 <[email protected]>
  • Loading branch information
ben-van-eekelen and VWSCoronaDashboard29 authored Oct 4, 2023
1 parent 02a5db4 commit 118cdfc
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/app/src/pages/landelijk/vaccinaties.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,6 @@ function VaccinationPage(props: StaticProps<typeof getStaticProps>) {

const lastInsertionDateOfPage = getLastInsertionDateOfPage(currentData, pageMetrics);

const variables = {
regio: commonTexts.choropleth.choropleth_vaccination_coverage.nl,
};

return (
<Layout {...metadata} lastGenerated={lastGenerated}>
<NlLayout>
Expand Down Expand Up @@ -282,8 +278,8 @@ function VaccinationPage(props: StaticProps<typeof getStaticProps>) {
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,
}}
Expand Down

0 comments on commit 118cdfc

Please sign in to comment.