diff --git a/src/ui/component/claimLink/view.jsx b/src/ui/component/claimLink/view.jsx index f69361cc2..889bf7add 100644 --- a/src/ui/component/claimLink/view.jsx +++ b/src/ui/component/claimLink/view.jsx @@ -7,9 +7,11 @@ import { parseURI } from 'lbry-redux'; type Props = { uri: string, + link?: boolean, title: ?string, claim: StreamClaim, children: React.Node, + className: ?string, thumbnail: ?string, autoEmbed: ?boolean, description: ?string, @@ -25,6 +27,7 @@ type Props = { class ClaimLink extends React.Component { static defaultProps = { href: null, + link: false, title: null, thumbnail: null, autoEmbed: false, @@ -64,7 +67,19 @@ class ClaimLink extends React.Component { } render() { - const { uri, claim, title, description, thumbnail, currentTheme, autoEmbed, children, isResolvingUri } = this.props; + const { + uri, + link, + claim, + title, + className, + description, + thumbnail, + currentTheme, + autoEmbed, + children, + isResolvingUri, + } = this.props; const isUnresolved = (!isResolvingUri && !claim) || !claim; const isBlacklisted = this.isClaimBlackListed(); @@ -77,13 +92,13 @@ class ClaimLink extends React.Component { const isChannelClaim = isChannel && !path; const showPreview = autoEmbed === true && !isUnresolved; - const link = ( + const innerContent = (