Skip to content

Commit

Permalink
Merge pull request #17 from x-team/bug/getState_fix
Browse files Browse the repository at this point in the history
fix contract with getState
  • Loading branch information
ccmoralesj authored Jul 22, 2022
2 parents ec4989d + 1689ce6 commit 67a359c
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 67a359c

Please sign in to comment.