Skip to content

Commit 39e1e66

Browse files
authored
Fix bug on rankings page reading undefined
1 parent 969ed25 commit 39e1e66

File tree

1 file changed

+1
-1
lines changed
  • src/components/RankingDisplay/TeamRankings

1 file changed

+1
-1
lines changed

src/components/RankingDisplay/TeamRankings/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const TeamRankings = () => {
3838
<MenuBar event={event} season={season} />
3939
<div className={styles.teamRankings}>
4040
{/* TODO(@evanlihou): This should be toggleable from this page */}
41-
{event?.options.showEventName === true && (
41+
{event?.options?.showEventName === true && (
4242
<div className={styles.eventName}>{event.name} ({season})</div>
4343
)}
4444
<table>

0 commit comments

Comments
 (0)