fix(#in341): fixed live match plays order tab bug

pull/196/head
Farber Denis 3 years ago
parent 0750331e6a
commit ac6383bff9
  1. 12
      src/features/MatchPage/store/hooks/index.tsx

@ -382,20 +382,8 @@ export const useMatchPage = () => {
} }
setIsPlayingFiltersEpisodes(true) setIsPlayingFiltersEpisodes(true)
if (matchProfile?.live) {
handlePlaylistClick({
playlist: {
episodes: episodesToPlay.map((el) => el.episodes[0]),
id: 1,
type: episodesToPlay[0].type,
},
tab: Tabs.EVENTS,
})
} else {
playNextEpisode(0) playNextEpisode(0)
} }
}
return { return {
access, access,

Loading…
Cancel
Save