Clear Seq arguments before navigating back to chat. Fixes #1355
This commit is contained in:
parent
6d3edd7920
commit
2ab9e4e85e
|
@ -37,6 +37,7 @@
|
||||||
(register-handler :open-chat-with-the-send-transaction
|
(register-handler :open-chat-with-the-send-transaction
|
||||||
(u/side-effect!
|
(u/side-effect!
|
||||||
(fn [db [_ chat-id]]
|
(fn [db [_ chat-id]]
|
||||||
|
(dispatch [:clear-seq-arguments])
|
||||||
(dispatch [:navigate-to :chat chat-id])
|
(dispatch [:navigate-to :chat chat-id])
|
||||||
(js/setTimeout #(dispatch [:select-chat-input-command {:name "send"}]) 500))))
|
(js/setTimeout #(dispatch [:select-chat-input-command {:name "send"}]) 500))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue