From 6693a6cd8f8d38353ba2c8e42bba812124f82b31 Mon Sep 17 00:00:00 2001 From: kwasniew Date: Wed, 2 Oct 2024 11:49:06 +0200 Subject: [PATCH] feat: remove bold/strong from personal dashboard events --- .../src/component/personalDashboard/LatestProjectEvents.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/component/personalDashboard/LatestProjectEvents.tsx b/frontend/src/component/personalDashboard/LatestProjectEvents.tsx index 9f9e3ba6403e..852169701a61 100644 --- a/frontend/src/component/personalDashboard/LatestProjectEvents.tsx +++ b/frontend/src/component/personalDashboard/LatestProjectEvents.tsx @@ -17,6 +17,8 @@ const Event = styled('li')(({ theme }) => ({ marginBottom: theme.spacing(4), })); +const BoldToNormal = ({ children }: HTMLAttributes) => children; + export const LatestProjectEvents: FC<{ latestEvents: PersonalDashboardProjectDetailsSchema['latestEvents']; }> = ({ latestEvents }) => { @@ -29,7 +31,7 @@ export const LatestProjectEvents: FC<{ src={event.createdByImageUrl} sx={{ mt: 1 }} /> - + {event.summary || 'No preview available for this event'}