1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-22 22:12:45 +01:00

chore: fix tests

(cherry picked from commit 699d96f41c)
This commit is contained in:
AnthonyFuller 2024-09-12 15:58:17 +01:00
parent 635211cd11
commit 71b22d2b0b

View File

@ -176,7 +176,8 @@ export function getPlayerProfileData(
playerProfilePage.PlayerProfileXp.Seasons.reduce((data, season) => {
return data.concat(season.Locations)
}, [] as PlayerProfileLocation[])
// @ts-ignore H2 does not use this
// @ts-expect-error H2 does not use this
delete playerProfilePage.PlayerProfileXp.Seasons
}