Skip to content

Commit

Permalink
fix contract with getState
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederico Braga committed Jul 22, 2022
1 parent 2da6be6 commit 1689ce6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/InspectArenaPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const InspectArenaPage = function InspectArenaPage(props: any) {

const arenaPlayers = get(
arenaGame,
"_arena._players",
"_arenaPlayers",
[]
) as IArenaPlayer[];

Expand Down
3 changes: 2 additions & 1 deletion src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ interface IGame {
endedAt: string;
_gameTypeId: number;
_arena: IArenaGame;
_arenaPlayers: [IArenaPlayer];
}

interface IGameWithTower extends IGame {
Expand All @@ -181,7 +182,7 @@ interface IArenaGame {
currentRingDeactivation: number;
inactiveZonePenaltyPower: number;
_gameId: number;
_players: [IArenaPlayer];

}

interface IArenaRoundAction {
Expand Down

0 comments on commit 1689ce6

Please sign in to comment.