fix channels page
This commit is contained in:
parent
6a179790ee
commit
5d893bc420
2 changed files with 9 additions and 11 deletions
|
@ -150,7 +150,7 @@ const Header = (props: Props) => {
|
|||
<Icon aria-hidden icon={ICONS.PUBLISH} />
|
||||
{__('Publishes')}
|
||||
</MenuItem>
|
||||
<MenuItem className="menu__link" onSelect={() => history.push(`/$/${PAGES.PUBLISHED}`)}>
|
||||
<MenuItem className="menu__link" onSelect={() => history.push(`/$/${PAGES.CHANNELS}`)}>
|
||||
<Icon aria-hidden icon={ICONS.CHANNEL} />
|
||||
{__('Channels')}
|
||||
</MenuItem>
|
||||
|
|
|
@ -40,7 +40,6 @@ export default function ChannelsPage(props: Props) {
|
|||
{hasYoutubeChannels && <YoutubeTransferStatus hideChannelLink />}
|
||||
|
||||
{channels && Boolean(channels.length) && (
|
||||
<div className="card">
|
||||
<ClaimList
|
||||
header={__('Your Channels')}
|
||||
loading={fetchingChannels}
|
||||
|
@ -49,7 +48,6 @@ export default function ChannelsPage(props: Props) {
|
|||
<Button button="link" label={__('New Channel')} onClick={() => openModal(MODALS.CREATE_CHANNEL)} />
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
{!(channels && channels.length) && (
|
||||
<React.Fragment>
|
||||
|
|
Loading…
Reference in a new issue