Skip to content

Commit

Permalink
feat: remove bold/strong from personal dashboard events
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed Oct 2, 2024
1 parent 3ac2c17 commit 6693a6c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ const Event = styled('li')(({ theme }) => ({
marginBottom: theme.spacing(4),
}));

const BoldToNormal = ({ children }: HTMLAttributes<HTMLElement>) => children;

export const LatestProjectEvents: FC<{
latestEvents: PersonalDashboardProjectDetailsSchema['latestEvents'];
}> = ({ latestEvents }) => {
Expand All @@ -29,7 +31,7 @@ export const LatestProjectEvents: FC<{
src={event.createdByImageUrl}
sx={{ mt: 1 }}
/>
<Markdown>
<Markdown components={{ strong: BoldToNormal }}>
{event.summary ||
'No preview available for this event'}
</Markdown>
Expand Down

0 comments on commit 6693a6c

Please sign in to comment.