cleanup
This commit is contained in:
parent
f1dceebcb4
commit
f35ef119ac
3 changed files with 4 additions and 1 deletions
|
@ -38,7 +38,7 @@ function ChannelContent(props: Props) {
|
||||||
{hasContent && <ClaimList header={false} uris={claimsInChannel.map(claim => claim.permanent_url)} />}
|
{hasContent && <ClaimList header={false} uris={claimsInChannel.map(claim => claim.permanent_url)} />}
|
||||||
|
|
||||||
<Paginate
|
<Paginate
|
||||||
onPageChange={page => fetchClaims(uri, page)}
|
onPageChange={page => console.log('fetch') || fetchClaims(uri, page)}
|
||||||
totalPages={totalPages}
|
totalPages={totalPages}
|
||||||
loading={fetching && !hasContent}
|
loading={fetching && !hasContent}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -60,6 +60,7 @@ function ChannelPage(props: Props) {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Page>
|
<Page>
|
||||||
|
{window.location.href}
|
||||||
<div className="card">
|
<div className="card">
|
||||||
<header className="channel-cover">
|
<header className="channel-cover">
|
||||||
{!editing && cover && <img className="channel-cover__custom" src={cover} />}
|
{!editing && cover && <img className="channel-cover__custom" src={cover} />}
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
max-width: 1200px;
|
max-width: 1200px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
|
padding-left: var(--spacing-large);
|
||||||
|
padding-right: var(--spacing-large);
|
||||||
padding-bottom: var(--spacing-main-padding);
|
padding-bottom: var(--spacing-main-padding);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue