Fix account click on detailed status (#27587)

This commit is contained in:
SouthFox 2023-10-27 22:03:21 +08:00 committed by KMY(雪あすか)
parent 4324b3ba93
commit 881febca15

View file

@ -65,7 +65,7 @@ class DetailedStatus extends ImmutablePureComponent {
handleAccountClick = (e) => {
if (e.button === 0 && !(e.ctrlKey || e.metaKey) && this.props.history) {
e.preventDefault();
this.history.push(`/@${this.props.status.getIn(['account', 'acct'])}`);
this.props.history.push(`/@${this.props.status.getIn(['account', 'acct'])}`);
}
e.stopPropagation();