move hidden message to top of subscription page

This commit is contained in:
Sean Yesmunt 2018-07-13 11:26:26 -04:00
parent 651fe60c5e
commit 5f06812c9d

View file

@ -78,6 +78,7 @@ export default class extends React.PureComponent<Props> {
return ( return (
<Page notContained loading={isFetchingSubscriptions}> <Page notContained loading={isFetchingSubscriptions}>
<HiddenNsfwClaims uris={subscriptionUris} />
{!subscriptions.length && ( {!subscriptions.length && (
<div className="page__empty"> <div className="page__empty">
{__("It looks like you aren't subscribed to any channels yet.")} {__("It looks like you aren't subscribed to any channels yet.")}
@ -87,7 +88,6 @@ export default class extends React.PureComponent<Props> {
</div> </div>
)} )}
{!!claimList.length && <FileList hideFilter sortByHeight fileInfos={claimList} />} {!!claimList.length && <FileList hideFilter sortByHeight fileInfos={claimList} />}
<HiddenNsfwClaims uris={subscriptionUris} />
</Page> </Page>
); );
} }