Skip to content

Commit

Permalink
Fix for scoreboard
Browse files Browse the repository at this point in the history
  • Loading branch information
irdkwmnsb committed Apr 16, 2024
1 parent b0f4914 commit 7c7a190
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/frontend/overlay/src/redux/contest/scoreboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@ export type ScoreboardState = {
[key in OptimismLevel]: ScoreboardData
}


const initialState: ScoreboardState = Object.fromEntries(
Object.keys(OptimismLevel).map((key) => [key, {
Object.keys(OptimismLevel).map((key: OptimismLevel) => [key, {
ids: {},
idAwards: {},
order: [],
ranks: [],
awards: []
awards: [],
orderById: {},
rankById: {}
}])
) as ScoreboardState;

Expand Down

0 comments on commit 7c7a190

Please sign in to comment.