diff --git a/packages/web/src/pages/players/player-card/helpers.ts b/packages/web/src/pages/players/player-card/helpers.ts index 808975e0..634d8bd5 100644 --- a/packages/web/src/pages/players/player-card/helpers.ts +++ b/packages/web/src/pages/players/player-card/helpers.ts @@ -51,7 +51,7 @@ const mergeLadderDataAndHistoricData = ( for (const stat of data.leaderboardStats) { const key = `${stat.statgroup_id}-${stat.leaderboard_id}`; - if (Object.hasOwn(historicLeaderboardStats, key)) { + if (historicLeaderboardStats.hasOwnProperty(key)) { stat.historic = historicLeaderboardStats[key]; } }