remove channel preview in comments
This commit is contained in:
parent
881ce59ade
commit
fce6c17f4f
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue