[Glitch] Fix crash on public hashtag pages when streaming fails

Port 3547e3e59e to glitch-soc
th-downstream
Thibaut Girka 6 years ago
parent bb6edcfd1d
commit e8ae6b050b

@ -98,7 +98,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 { expanded, onToggleHidden, settings } = this.props; const { expanded, onToggleHidden, settings } = this.props;
const outerStyle = { boxSizing: 'border-box' }; const outerStyle = { boxSizing: 'border-box' };
const { compact } = this.props; const { compact } = this.props;

Loading…
Cancel
Save