Switch to compose route when replying and compose is not mounted
This commit is contained in:
parent
93577f74e7
commit
d32e0364f9
6 changed files with 56 additions and 14 deletions
|
@ -61,8 +61,8 @@ const makeMapStateToPropsLast = () => {
|
|||
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
|
||||
onReply (status) {
|
||||
dispatch(replyCompose(status));
|
||||
onReply (status, router) {
|
||||
dispatch(replyCompose(status, router));
|
||||
},
|
||||
|
||||
onReblog (status) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue