Fix open status on media modal (#27867)

This commit is contained in:
Jeong Arm 2023-11-15 18:29:10 +09:00 committed by Essem
parent 8d611ef932
commit 7ed31b511a
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C

View file

@ -166,7 +166,7 @@ class Footer extends ImmutablePureComponent {
onClose();
}
history.push(`/@${status.getIn(['account', 'acct'])}/${status.get('id')}`);
this.props.history.push(`/@${status.getIn(['account', 'acct'])}/${status.get('id')}`);
};
render () {