From 099c4a19c7518dfd829b34b3270783b7ff6db9ea Mon Sep 17 00:00:00 2001 From: Marius Krakeli Date: Mon, 23 Sep 2024 09:17:00 +0200 Subject: [PATCH] edit: Listing items done correct --- src/jobs/list-item.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/jobs/list-item.tsx b/src/jobs/list-item.tsx index c971dff5a..406cf065b 100644 --- a/src/jobs/list-item.tsx +++ b/src/jobs/list-item.tsx @@ -25,9 +25,11 @@ export default function JobListingItem({ item }: JobListingItemProps) {

{item.title}

- {`${item.locations.map((location) => { - return ' ' + location.city; - })}`} + {item.locations + .map((location) => { + return location.city; + }) + .join(', ')}