fix account page

This commit is contained in:
YoheiZuho 2021-05-20 15:51:00 +02:00
parent 532dfa7c61
commit 9bb16ac0e6

View File

@ -87,7 +87,7 @@ class DetailedStatus extends ImmutablePureComponent {
if (e.button === 0 && !(e.ctrlKey || e.metaKey) && this.context.router) {
const id = e.currentTarget.getAttribute('data-id');
e.preventDefault();
this.context.router.history.push(`/accounts/${id}`);
this.context.router.history.push(`/accounts/${this.props.status.getIn(['account', 'id'])}`);
}
e.stopPropagation();