fix channels page

This commit is contained in:
Sean Yesmunt 2020-01-02 19:06:45 -05:00
parent 6a179790ee
commit 5d893bc420
2 changed files with 9 additions and 11 deletions

View file

@ -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>

View file

@ -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>