Fix status open hotkey

th-downstream
Jeong Arm 3 years ago committed by Claire
parent fa3b53c396
commit b1c526b1ed

@ -425,6 +425,7 @@ class Status extends ImmutablePureComponent {
handleHotkeyOpen = () => {
let state = {...this.context.router.history.location.state};
state.mastodonBackSteps = (state.mastodonBackSteps || 0) + 1;
const status = this.props.status;
this.context.router.history.push(`/@${status.getIn(['account', 'acct'])}/${status.get('id')}`, state);
}

Loading…
Cancel
Save