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

Fix bug when clicking on a Status

See merge request soapbox-pub/soapbox-fe!1139
merge-requests/1141/head
Justin 2022-03-24 12:40:19 +00:00
commit e63d095468
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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}