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 hiyuki2578 committed Oct 2, 2019
1 parent d5b2b0c commit 3bd9bc4
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 3bd9bc4

Please sign in to comment.