From c6b82f67a576ba810218f4bc2f23df949b298907 Mon Sep 17 00:00:00 2001 From: M <120020483+VWSCoronaDashboard30@users.noreply.github.com> Date: Mon, 4 Mar 2024 16:42:47 +0100 Subject: [PATCH] hotfix(COR-1921): Fixed missing comma for last json link (#4997) --- .../components/page-information-block/components/metadata.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app/src/components/page-information-block/components/metadata.tsx b/packages/app/src/components/page-information-block/components/metadata.tsx index 63867e3590..3002790120 100644 --- a/packages/app/src/components/page-information-block/components/metadata.tsx +++ b/packages/app/src/components/page-information-block/components/metadata.tsx @@ -140,7 +140,7 @@ function MetadataItem({ icon, label, items, referenceLink, accessibilityText, ac {`${label}: `} {items.map((item, index) => ( - {index > 0 && (index !== items.length - 1 ? ', ' : '')} + {index > 0 && index !== items.length && ', '} {item.href && (