From 2094f9673dee77fca1c980bc947c72a9e6337f44 Mon Sep 17 00:00:00 2001 From: Justin Date: Thu, 24 Mar 2022 08:23:18 -0400 Subject: [PATCH] Fix bug when clicking on a Status --- app/soapbox/components/status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/components/status.js b/app/soapbox/components/status.js index a2c086912..4de466c05 100644 --- a/app/soapbox/components/status.js +++ b/app/soapbox/components/status.js @@ -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}