|
|
|
|
@ -21,7 +21,6 @@ import { Matches } from '../Matches' |
|
|
|
|
|
|
|
|
|
type Props = { |
|
|
|
|
onSelect: (option: PlaylistOption) => void, |
|
|
|
|
playListFilter: number, |
|
|
|
|
playlists: Playlists, |
|
|
|
|
profile: MatchInfo, |
|
|
|
|
selectedPlaylist?: PlaylistOption, |
|
|
|
|
@ -30,7 +29,6 @@ type Props = { |
|
|
|
|
|
|
|
|
|
export const TabWatch = ({ |
|
|
|
|
onSelect, |
|
|
|
|
playListFilter, |
|
|
|
|
playlists, |
|
|
|
|
profile, |
|
|
|
|
selectedPlaylist, |
|
|
|
|
@ -50,15 +48,13 @@ export const TabWatch = ({ |
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
|
<Fragment> |
|
|
|
|
{playListFilter > 0 && ( |
|
|
|
|
<MatchPlaylists |
|
|
|
|
ref={matchPlaylistsRef} |
|
|
|
|
playlists={filteredPlayListByDuration} |
|
|
|
|
selectedMathPlaylist={selectedPlaylist} |
|
|
|
|
onSelect={onSelect} |
|
|
|
|
live={profile?.live} |
|
|
|
|
/> |
|
|
|
|
)} |
|
|
|
|
<MatchPlaylists |
|
|
|
|
ref={matchPlaylistsRef} |
|
|
|
|
playlists={filteredPlayListByDuration} |
|
|
|
|
selectedMathPlaylist={selectedPlaylist} |
|
|
|
|
onSelect={onSelect} |
|
|
|
|
live={profile?.live} |
|
|
|
|
/> |
|
|
|
|
<DropdownSection |
|
|
|
|
itemsCount={size(playlists.interview)} |
|
|
|
|
title={playlists.lexics?.interview} |
|
|
|
|
@ -71,7 +67,6 @@ export const TabWatch = ({ |
|
|
|
|
</DropdownSection> |
|
|
|
|
<Matches |
|
|
|
|
profile={profile} |
|
|
|
|
playListFilter={playListFilter} |
|
|
|
|
tournamentData={tournamentData} |
|
|
|
|
additionalScrollHeight={additionalScrollHeight} |
|
|
|
|
/> |
|
|
|
|
|