fix(1658): match sideblock styles (#499)

keep-around/af30b88d367751c9e05a735e4a0467a96238ef47
Mirlan 4 years ago committed by GitHub
parent be0ea9ba42
commit 741da9ddd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/features/MatchPage/components/LiveMatchSidePlaylists/index.tsx
  2. 18
      src/features/MatchSidePlaylists/components/TabWatch/index.tsx

@ -8,7 +8,6 @@ import { Tab, TabsGroup } from 'features/Common'
const Wrapper = styled.div``
const Container = styled.div`
width: 288px;
margin-left: 14px;
margin-right: 18px;

@ -1,5 +1,6 @@
import { Fragment } from 'react'
import isEmpty from 'lodash/isEmpty'
import size from 'lodash/size'
import type { PlaylistOption, Playlists } from 'features/MatchPage/types'
@ -40,14 +41,13 @@ export const TabWatch = ({
onSelect={onSelect}
/>
</DropdownSection>
{size(playlists.players.team1)
&& (
<PlayersPlaylists
profile={profile}
players={playlists.players}
selectedMathPlaylist={selectedPlaylist}
onSelect={onSelect}
/>
)}
{!isEmpty(playlists.players.team1) && (
<PlayersPlaylists
profile={profile}
players={playlists.players}
selectedMathPlaylist={selectedPlaylist}
onSelect={onSelect}
/>
)}
</Fragment>
)

Loading…
Cancel
Save