Fix crash on public hashtag pages when streaming fails (#10061)

master
ThibG 6 years ago committed by Eugen Rochko
parent ea7ad59af2
commit 041ff5fa9a
  1. 2
      app/javascript/mastodon/features/status/components/detailed_status.js

@ -87,7 +87,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
}
render () {
const status = this.props.status.get('reblog') ? this.props.status.get('reblog') : this.props.status;
const status = (this.props.status && this.props.status.get('reblog')) ? this.props.status.get('reblog') : this.props.status;
const outerStyle = { boxSizing: 'border-box' };
const { compact } = this.props;

Loading…
Cancel
Save