From d32e0364f9aa2d61080c53489996351d4bd7b1c4 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 21 Nov 2016 10:52:11 +0100 Subject: Switch to compose route when replying and compose is not mounted --- app/assets/javascripts/components/containers/status_container.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/assets/javascripts/components/containers') diff --git a/app/assets/javascripts/components/containers/status_container.jsx b/app/assets/javascripts/components/containers/status_container.jsx index 2bcb7026c..28756b5ef 100644 --- a/app/assets/javascripts/components/containers/status_container.jsx +++ b/app/assets/javascripts/components/containers/status_container.jsx @@ -61,8 +61,8 @@ const makeMapStateToPropsLast = () => { const mapDispatchToProps = (dispatch) => ({ - onReply (status) { - dispatch(replyCompose(status)); + onReply (status, router) { + dispatch(replyCompose(status, router)); }, onReblog (status) { -- cgit