re-add claimViews (lost in rebase)

This commit is contained in:
Travis Eden 2018-10-31 16:08:02 -04:00
parent 7575ab937f
commit 033c3d7f12

View file

@ -14,12 +14,9 @@ import createCanonicalLink from '../../../../utils/createCanonicalLink';
class AssetInfo extends React.Component {
render () {
const { asset } = this.props;
const { shortId, claimData: { channelName, channelShortId, certificateId, description, name, claimId, fileExt, contentType, thumbnail, host } } = asset;
const { claimViews, claimData: { channelName, channelShortId, description, name, fileExt, contentType, thumbnail, host } } = asset;
const assetCanonicalUrl = `${host}${createCanonicalLink({
asset,
absolute: true,
})}`;
const assetCanonicalUrl = `${host}${createCanonicalLink({asset})}`;
let channelCanonicalUrl;
if (channelName) {