Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hydration errors #141

Merged
merged 1 commit into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function ConcertCard(props: ConcertCardProps) {
</Link>
<div className="flex items-center">
<CalendarMonth />
<p className="font-sans font-extralight">
<p className="font-sans font-extralight" suppressHydrationWarning>
{ concertDateString }
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function ConcertDetails(props: ConcertDetailsProps) {
<h1 className="mb-5 text-justify text-xl font-bold">
Additional Details
</h1>
<p className="mb-2 text-justify font-normal">
<p className="mb-2 text-justify font-normal" suppressHydrationWarning>
{`Get ready for an unforgettable evening with ${concert.items[0].artist_name}!
Join us at ${concert.items[0].venue_name} on ${concertDateString} for a night of incredible
music and electrifying performances.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function ConcertCard(props: ConcertCardProps) {
</div>
<div className="flex items-center">
<CalendarMonth />
<p className="font-sans font-extralight">
<p className="font-sans font-extralight" suppressHydrationWarning>
{ concertDateString }
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ function Timeline(props: TimelineProps) {
},
}}
>
<StyledTab className="w-1/3" label={today.toDateString()} {...a11yProps(0)} />
<StyledTab className="w-1/3" label={tomorrow.toDateString()} {...a11yProps(1)} />
<StyledTab className="w-1/3" label={dayAfterTomorrow.toDateString()} {...a11yProps(LAST_TAB)} />
<StyledTab className="w-1/3" label={today.toDateString()} {...a11yProps(0)} suppressHydrationWarning />
<StyledTab className="w-1/3" label={tomorrow.toDateString()} {...a11yProps(1)} suppressHydrationWarning />
<StyledTab className="w-1/3" label={dayAfterTomorrow.toDateString()} {...a11yProps(LAST_TAB)} suppressHydrationWarning />
</Tabs>
</div>
</Box>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function FollowedEventCard(props: FollowedEventCardProps) {
<div className="mx-4">
<div className="mb-2 flex items-center">
<CalendarMonth />
<p className="font-sans font-extralight">
<p className="font-sans font-extralight" suppressHydrationWarning >
{ concertDateString }
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function ConcertResultCard(props: ConcertResultCardProps) {
</h1>
<div className="flex items-center">
<CalendarMonth />
<p className="font-sans font-extralight">
<p className="font-sans font-extralight" suppressHydrationWarning>
{ concertDateString }
</p>
</div>
Expand Down