Skip to content

Commit 3bd9bc4

Browse files
ClearlyClairehiyuki2578
authored andcommitted
Fix crash on public hashtag pages when streaming fails (mastodon#10061)
1 parent d5b2b0c commit 3bd9bc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/javascript/mastodon/features/status/components/detailed_status.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
8787
}
8888

8989
render () {
90-
const status = this.props.status.get('reblog') ? this.props.status.get('reblog') : this.props.status;
90+
const status = (this.props.status && this.props.status.get('reblog')) ? this.props.status.get('reblog') : this.props.status;
9191
const outerStyle = { boxSizing: 'border-box' };
9292
const { compact } = this.props;
9393

0 commit comments

Comments
 (0)