From 1a0b1dea39c2ed27c343e663f9fc7d2b48b979d4 Mon Sep 17 00:00:00 2001 From: VWSCoronaDashboard21 Date: Wed, 25 Jan 2023 13:38:05 +0100 Subject: [PATCH] fix: fixing issues found by testing develop --- .../kwetsbare-groepen-70-plussers.tsx | 14 +- .../pages/landelijk/thuiswonende-ouderen.tsx | 2 +- .../[code]/gehandicaptenzorg.tsx | 2 +- .../[code]/kwetsbare-groepen-70-plussers.tsx | 273 +++++++++--------- .../[code]/thuiswonende-ouderen.tsx | 2 +- 5 files changed, 149 insertions(+), 144 deletions(-) diff --git a/packages/app/src/pages/landelijk/kwetsbare-groepen-70-plussers.tsx b/packages/app/src/pages/landelijk/kwetsbare-groepen-70-plussers.tsx index 883aa965a1..3d3febe6aa 100644 --- a/packages/app/src/pages/landelijk/kwetsbare-groepen-70-plussers.tsx +++ b/packages/app/src/pages/landelijk/kwetsbare-groepen-70-plussers.tsx @@ -2,21 +2,22 @@ import { colors, TimeframeOption, TimeframeOptionsList } from '@corona-dashboard import { useState } from 'react'; import { Coronavirus, Location, ElderlyPeople, VulnerableGroups as VulnerableGroupsIcon } from '@corona-dashboard/icons'; import { GetStaticPropsContext } from 'next'; +import { Box } from '~/components/base'; import { ChartTile } from '~/components/chart-tile'; +import { ChoroplethTile } from '~/components/choropleth-tile'; import { Divider } from '~/components/divider'; +import { DynamicChoropleth } from '~/components/'; import { InView } from '~/components/in-view'; import { KpiTile } from '~/components/kpi-tile'; import { KpiValue } from '~/components/kpi-value'; -import { ChoroplethTile } from '~/components/choropleth-tile'; import { Markdown } from '~/components/markdown'; import { PageInformationBlock } from '~/components/page-information-block'; +import { Text } from '~/components/typography'; +import { thresholds } from '~/components/choropleth/logic/thresholds'; import { TileList } from '~/components/tile-list'; import { TimeSeriesChart } from '~/components/time-series-chart'; -import { thresholds } from '~/components/choropleth/logic/thresholds'; -import { Text } from '~/components/typography'; -import { DynamicChoropleth } from '~/components/'; -import { WarningTile } from '~/components/warning-tile'; import { TwoKpiSection } from '~/components/two-kpi-section'; +import { WarningTile } from '~/components/warning-tile'; import { Layout } from '~/domain/layout/layout'; import { NlLayout } from '~/domain/layout/nl-layout'; import { Languages, SiteText } from '~/locale'; @@ -30,7 +31,6 @@ 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'; -import { Box } from '~/components/base'; const pageMetrics = ['nursing_home']; @@ -136,7 +136,7 @@ function VulnerableGroups(props: StaticProps) { articles={content.articles} /> - {hasActiveWarningTile && } + {hasActiveWarningTile && } diff --git a/packages/app/src/pages/landelijk/thuiswonende-ouderen.tsx b/packages/app/src/pages/landelijk/thuiswonende-ouderen.tsx index c1431551ba..0131b25fa5 100644 --- a/packages/app/src/pages/landelijk/thuiswonende-ouderen.tsx +++ b/packages/app/src/pages/landelijk/thuiswonende-ouderen.tsx @@ -100,7 +100,7 @@ function ElderlyAtHomeNationalPage(props: StaticProps) {