fix: crashing on own channel while pending
Some strange behavior occurs for a pending publish + viewing own channel - this is the easiest solution so it doesn't crash right now.
This commit is contained in:
parent
8bdf2b0461
commit
e36feb74fb
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ function ChannelContent(props: Props) {
|
||||||
{!channelIsMine && <HiddenNsfwClaims className="card__subtitle" uri={uri} />}
|
{!channelIsMine && <HiddenNsfwClaims className="card__subtitle" uri={uri} />}
|
||||||
|
|
||||||
{hasContent && !channelIsBlocked && !channelIsBlackListed && (
|
{hasContent && !channelIsBlocked && !channelIsBlackListed && (
|
||||||
<ClaimList header={false} uris={claimsInChannel.map(claim => claim.canonical_url)} />
|
<ClaimList header={false} uris={claimsInChannel.map(claim => claim && claim.canonical_url)} />
|
||||||
)}
|
)}
|
||||||
{!channelIsBlocked && !channelIsBlackListed && (
|
{!channelIsBlocked && !channelIsBlackListed && (
|
||||||
<Paginate
|
<Paginate
|
||||||
|
|
Loading…
Add table
Reference in a new issue