Merge branch 'fix-status-action' into 'next'

Fix bug when clicking on a Status

See merge request soapbox-pub/soapbox-fe!1139
This commit is contained in:
Justin 2022-03-24 12:40:19 +00:00
commit e63d095468
1 changed files with 1 additions and 1 deletions

View File

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