Allows for channel thumbnails to be clickable from issue #3119

This commit is contained in:
Oleg Silkin 2019-11-29 16:22:52 -05:00 committed by Sean Yesmunt
parent 1e82586fff
commit fdb653fa12

View file

@ -191,7 +191,12 @@ const ClaimPreview = forwardRef<any, {}>((props: Props, ref: any) => {
'claim-preview--pending': pending, 'claim-preview--pending': pending,
})} })}
> >
{isChannel ? <ChannelThumbnail uri={uri} obscure={channelIsBlocked} /> : <CardMedia thumbnail={thumbnail} />} {isChannel ? (
<UriIndicator uri={uri} link>
<ChannelThumbnail uri={uri} obscure={channelIsBlocked} />
</UriIndicator>
) : (<CardMedia thumbnail={thumbnail} />)
}
<div className="claim-preview-metadata"> <div className="claim-preview-metadata">
<div className="claim-preview-info"> <div className="claim-preview-info">
<div className="claim-preview-title"> <div className="claim-preview-title">