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

Commit

Permalink
Removed empty tile (#4309)
Browse files Browse the repository at this point in the history
* Removed empty tile

* Removed unused import

* Removed prop and type
  • Loading branch information
jeroen-drenth authored Jul 5, 2022
1 parent 1c0403c commit 70f26fc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
14 changes: 0 additions & 14 deletions packages/app/src/domain/deceased/deceased-monitor-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,14 @@ import { SiteText } from '~/locale';
export function DeceasedMonitorSection({
data,
text,
showDataMessage,
showCauseMessage,
}: {
data: NlDeceasedCbs | VrDeceasedCbs;
text: SiteText['pages']['deceasedPage']['shared']['section_sterftemonitor'];
showDataMessage?: boolean;
showCauseMessage?: boolean;
}) {
return (
<>
{showDataMessage && (
<AnchorTile
title={text.cbs_message.title}
label={text.cbs_message.link.text}
href={text.cbs_message.link.href}
external
>
{text.cbs_message.message}
</AnchorTile>
)}

<ChartTile
metadata={{ source: text.bronnen.cbs }}
title={text.deceased_monitor_chart_title}
Expand Down Expand Up @@ -68,7 +55,6 @@ export function DeceasedMonitorSection({
]}
/>
</ChartTile>

{showCauseMessage && (
<AnchorTile
title={text.cause_message.title}
Expand Down
1 change: 0 additions & 1 deletion packages/app/src/pages/landelijk/sterfte.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ const DeceasedNationalPage = (props: StaticProps<typeof getStaticProps>) => {
<DeceasedMonitorSection
data={dataCbs}
text={textShared.section_sterftemonitor}
showDataMessage
showCauseMessage
/>
</TileList>
Expand Down

0 comments on commit 70f26fc

Please sign in to comment.