don't render fileProperties if no claim

This commit is contained in:
Sean Yesmunt 2019-08-27 22:16:26 -04:00
parent 10e1e77973
commit bb0782054d

View file

@ -180,7 +180,7 @@ const ClaimPreview = forwardRef<any, {}>((props: Props, ref: any) => {
<SubscribeButton uri={uri.startsWith('lbry://') ? uri : `lbry://${uri}`} /> <SubscribeButton uri={uri.startsWith('lbry://') ? uri : `lbry://${uri}`} />
)} )}
{isChannel && !isSubscribed && <BlockButton uri={uri.startsWith('lbry://') ? uri : `lbry://${uri}`} />} {isChannel && !isSubscribed && <BlockButton uri={uri.startsWith('lbry://') ? uri : `lbry://${uri}`} />}
{!isChannel && <FileProperties uri={uri} />} {!isChannel && claim && <FileProperties uri={uri} />}
</div> </div>
)} )}
</div> </div>