fix account page

This commit is contained in:
YoheiZuho 2021-05-20 15:25:03 +02:00
parent 94feab8a8c
commit a2f5b077b0

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();