Skip to content

Commit 598ce33

Browse files
committed
merge
1 parent ff0e2f0 commit 598ce33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/molecules/EventDisplay/EventDisplay.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ export const EventDisplay: React.FC<EventDisplayProps> = ({ event, venue }) => {
3131
"schedule-event-container--live": isLiveEvent,
3232
});
3333

34-
const starHour = formatHour(event.start_utc_seconds);
34+
const starEventHour = formatHour(event.start_utc_seconds);
3535

3636
const oneHourBehind = format(
3737
new Date().setHours(new Date().getHours() - 1),
3838
"HH"
3939
);
4040
const duration = Math.floor(event.duration_minutes / 60);
41-
const beginnigToShow = Number(starHour) - Number(oneHourBehind);
41+
const beginnigToShow = Number(starEventHour) - Number(oneHourBehind);
4242

4343
const currentMinutes = getMinutes(getCurrentTimeInUTCSeconds());
4444

0 commit comments

Comments
 (0)