From 737dbcda273488d0158bbdf4cf587fc61effdade Mon Sep 17 00:00:00 2001 From: "Malin J." Date: Thu, 12 Dec 2024 14:13:56 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8D=EF=B8=8F=20remove=20aria-label=20#?= =?UTF-8?q?2716=20(#2717)?= 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