Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Baelx <[email protected]>
  • Loading branch information
NatSquared and Baelx authored Jun 12, 2024
1 parent f288a45 commit 1051caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions met-web/src/components/engagement/new/view/EngagementHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const EngagementHero = ({ engagement }: { engagement: Engagement }) => {
const dateFormat = 'MMM DD, YYYY';
const isExternalCTA = engagement.cta_url?.startsWith('http');
return (
<>
<section aria-label="Engagement Overview">
<Box
sx={{
width: '100%',
Expand Down Expand Up @@ -47,7 +47,7 @@ export const EngagementHero = ({ engagement }: { engagement: Engagement }) => {
</Grid>
<Grid item>
<BodyText bold size="small" sx={{ color: '#201F1E' }}>
{dayjs(engagement.start_date).format(dateFormat)} to{' '}
<time datetime="{engagement.start_date}">{dayjs(engagement.start_date).format(dateFormat)}</time> to{' '}
{dayjs(engagement.end_date).format(dateFormat)}
</BodyText>
</Grid>
Expand Down

0 comments on commit 1051caf

Please sign in to comment.