forked from treehouse/mastodon
comment out unused stuff with Video
parent
dcd8ff5308
commit
37e141bccb
|
@ -11,7 +11,7 @@ import Link from 'react-router-dom/Link';
|
||||||
import { FormattedDate, FormattedNumber } from 'react-intl';
|
import { FormattedDate, FormattedNumber } from 'react-intl';
|
||||||
import CardContainer from '../containers/card_container';
|
import CardContainer from '../containers/card_container';
|
||||||
import ImmutablePureComponent from 'react-immutable-pure-component';
|
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||||
import Video from '../../video';
|
// import Video from '../../video';
|
||||||
import VisibilityIcon from '../../../../glitch/components/status/visibility_icon';
|
import VisibilityIcon from '../../../../glitch/components/status/visibility_icon';
|
||||||
|
|
||||||
export default class DetailedStatus extends ImmutablePureComponent {
|
export default class DetailedStatus extends ImmutablePureComponent {
|
||||||
|
@ -37,9 +37,9 @@ export default class DetailedStatus extends ImmutablePureComponent {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}
|
}
|
||||||
|
|
||||||
handleOpenVideo = startTime => {
|
// handleOpenVideo = startTime => {
|
||||||
this.props.onOpenVideo(this.props.status.getIn(['media_attachments', 0]), startTime);
|
// this.props.onOpenVideo(this.props.status.getIn(['media_attachments', 0]), startTime);
|
||||||
}
|
// }
|
||||||
|
|
||||||
render () {
|
render () {
|
||||||
const status = this.props.status.get('reblog') ? this.props.status.get('reblog') : this.props.status;
|
const status = this.props.status.get('reblog') ? this.props.status.get('reblog') : this.props.status;
|
||||||
|
|
Loading…
Reference in New Issue