diff --git a/src/pages/InspectArenaPage.tsx b/src/pages/InspectArenaPage.tsx index 94d365b..b7b8870 100644 --- a/src/pages/InspectArenaPage.tsx +++ b/src/pages/InspectArenaPage.tsx @@ -19,7 +19,7 @@ const InspectArenaPage = function InspectArenaPage(props: any) { const arenaPlayers = get( arenaGame, - "_arena._players", + "_arenaPlayers", [] ) as IArenaPlayer[]; diff --git a/src/types.d.ts b/src/types.d.ts index 1e88716..bab72b9 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -167,6 +167,7 @@ interface IGame { endedAt: string; _gameTypeId: number; _arena: IArenaGame; + _arenaPlayers: [IArenaPlayer]; } interface IGameWithTower extends IGame { @@ -181,7 +182,7 @@ interface IArenaGame { currentRingDeactivation: number; inactiveZonePenaltyPower: number; _gameId: number; - _players: [IArenaPlayer]; + } interface IArenaRoundAction {