Skip to content

Commit

Permalink
Fix crash on public hashtag pages when streaming fails (mastodon#10061)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored and Gargron committed Feb 16, 2019
1 parent 53639a3 commit a183dc6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a183dc6

Please sign in to comment.