|
|
|
@ -147,9 +147,6 @@ export const usePlayersStats = ({ |
|
|
|
|| !includes([StatsTabs.TEAM1, StatsTabs.TEAM2], selectedStatsTable) |
|
|
|
|| !includes([StatsTabs.TEAM1, StatsTabs.TEAM2], selectedStatsTable) |
|
|
|
|| !matchProfile?.team1.id |
|
|
|
|| !matchProfile?.team1.id |
|
|
|
|| !matchProfile?.team2.id |
|
|
|
|| !matchProfile?.team2.id |
|
|
|
|| (!matchProfile?.live && !isCurrentStats && !isEmpty(playersStats[isTeam1Selected |
|
|
|
|
|
|
|
? matchProfile.team1.id |
|
|
|
|
|
|
|
: matchProfile.team2.id])) |
|
|
|
|
|
|
|
) return |
|
|
|
) return |
|
|
|
|
|
|
|
|
|
|
|
const [res1, res2] = await Promise.all([ |
|
|
|
const [res1, res2] = await Promise.all([ |
|
|
|
@ -201,7 +198,6 @@ export const usePlayersStats = ({ |
|
|
|
fakeData, |
|
|
|
fakeData, |
|
|
|
selectedTab, |
|
|
|
selectedTab, |
|
|
|
selectedStatsTable, |
|
|
|
selectedStatsTable, |
|
|
|
isCurrentStats, |
|
|
|
|
|
|
|
]) |
|
|
|
]) |
|
|
|
|
|
|
|
|
|
|
|
const beforeCloseTourCallback = () => { |
|
|
|
const beforeCloseTourCallback = () => { |
|
|
|
|