Switch to compose route when replying and compose is not mounted

This commit is contained in:
Eugen Rochko 2016-11-21 10:52:11 +01:00
parent 93577f74e7
commit d32e0364f9
6 changed files with 56 additions and 14 deletions

View file

@ -61,8 +61,8 @@ const makeMapStateToPropsLast = () => {
const mapDispatchToProps = (dispatch) => ({
onReply (status) {
dispatch(replyCompose(status));
onReply (status, router) {
dispatch(replyCompose(status, router));
},
onReblog (status) {