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

lolsob-rspec
ThibG 2019-02-16 14:53:27 +01:00 committed by Eugen Rochko
parent 8ff757ed6a
commit 3547e3e59e
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
} }
render () { 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 outerStyle = { boxSizing: 'border-box' };
const { compact } = this.props; const { compact } = this.props;