remove channel preview in comments

This commit is contained in:
Sean Yesmunt 2020-11-12 13:46:40 -05:00
parent 881ce59ade
commit fce6c17f4f

View file

@ -1,9 +1,9 @@
// @flow // @flow
import * as React from 'react'; import * as React from 'react';
import classnames from 'classnames'; import classnames from 'classnames';
import ClaimPreview from 'component/claimPreview';
import EmbedPlayButton from 'component/embedPlayButton'; import EmbedPlayButton from 'component/embedPlayButton';
import Button from 'component/button'; import Button from 'component/button';
import UriIndicator from 'component/uriIndicator';
import { INLINE_PLAYER_WRAPPER_CLASS } from 'component/fileRenderFloating/view'; import { INLINE_PLAYER_WRAPPER_CLASS } from 'component/fileRenderFloating/view';
type Props = { type Props = {
@ -80,9 +80,7 @@ class ClaimLink extends React.Component<Props> {
const isChannel = valueType === 'channel'; const isChannel = valueType === 'channel';
return isChannel ? ( return isChannel ? (
<div className="card--inline"> <UriIndicator uri={uri} link />
<ClaimPreview uri={uri} wrapperElement="div" hideActions />
</div>
) : ( ) : (
<div className={classnames('claim-link')}> <div className={classnames('claim-link')}>
<div <div