Fix bug when clicking on a Status

This commit is contained in:
Justin 2022-03-24 08:23:18 -04:00
parent 5f4930dba3
commit 2094f9673d

View file

@ -580,7 +580,7 @@ class Status extends ImmutablePureComponent {
data-featured={featured ? 'true' : null}
aria-label={textForScreenReader(intl, status, rebloggedByText)}
ref={this.handleRef}
onClick={() => this.context.router.history.push(statusUrl)}
onClick={() => this.props.history.push(statusUrl)}
role='link'
>
{prepend}