Skip to content

Commit 67a359c

Browse files
authored
Merge pull request #17 from x-team/bug/getState_fix
fix contract with getState
2 parents ec4989d + 1689ce6 commit 67a359c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/pages/InspectArenaPage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const InspectArenaPage = function InspectArenaPage(props: any) {
1919

2020
const arenaPlayers = get(
2121
arenaGame,
22-
"_arena._players",
22+
"_arenaPlayers",
2323
[]
2424
) as IArenaPlayer[];
2525

src/types.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ interface IGame {
167167
endedAt: string;
168168
_gameTypeId: number;
169169
_arena: IArenaGame;
170+
_arenaPlayers: [IArenaPlayer];
170171
}
171172

172173
interface IGameWithTower extends IGame {
@@ -181,7 +182,7 @@ interface IArenaGame {
181182
currentRingDeactivation: number;
182183
inactiveZonePenaltyPower: number;
183184
_gameId: number;
184-
_players: [IArenaPlayer];
185+
185186
}
186187

187188
interface IArenaRoundAction {

0 commit comments

Comments
 (0)