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

Commit

Permalink
Hotfix/cor 1921 fix merged json links (#4999)
Browse files Browse the repository at this point in the history
* hotfix(COR-1921): Fixed missing comma for last json link

* refactor(COR-1921): Remove unused condition

---------

Co-authored-by: M <[email protected]>
  • Loading branch information
ben-van-eekelen and VWSCoronaDashboard30 authored Mar 4, 2024
1 parent c6b82f6 commit 78c1415
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function MetadataItem({ icon, label, items, referenceLink, accessibilityText, ac
{`${label}: `}
{items.map((item, index) => (
<Fragment key={index + item.href}>
{index > 0 && index !== items.length && ', '}
{index > 0 && ', '}
{item.href && (
<ExternalLink
href={item.href}
Expand Down

0 comments on commit 78c1415

Please sign in to comment.