From 6c0bd7dacdc45c7e1ec1e2a5017f797e3e3abc8e Mon Sep 17 00:00:00 2001 From: "Malin J." Date: Fri, 6 Dec 2024 14:10:12 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8D=EF=B8=8F=20remove=20aria-label=20#?= =?UTF-8?q?2716?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pastEvents/PastEventsListItem.tsx | 99 +++++++++---------- 1 file changed, 49 insertions(+), 50 deletions(-) diff --git a/web/pageComponents/topicPages/promotions/pastEvents/PastEventsListItem.tsx b/web/pageComponents/topicPages/promotions/pastEvents/PastEventsListItem.tsx index 097fdcde2..f19ef5f7c 100644 --- a/web/pageComponents/topicPages/promotions/pastEvents/PastEventsListItem.tsx +++ b/web/pageComponents/topicPages/promotions/pastEvents/PastEventsListItem.tsx @@ -28,58 +28,57 @@ const PastEventsListItem = forwardRef +
+ {start && ( + + {(parts) => { + return ( +
+ {`${parts[0].value} ${parts[2].value}`} + {parts[4].value} +
+ ) + }} +
)} - {...rest} - > -
- {start && ( - - {(parts) => { - return ( -
- {`${parts[0].value} ${parts[2].value}`} - {parts[4].value} -
- ) - }} -
- )} -
-
- - {location && ( -
- - - {location} - -
- )} -
- +
+
+ + {location && ( +
+ + + {location} + +
+ )} +
+ ) }) export default PastEventsListItem