mirror of
https://github.com/status-im/status-react.git
synced 2025-02-04 07:06:18 +00:00
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
|
||||
(u/side-effect!
|
||||
(fn [db [_ chat-id]]
|
||||
(dispatch [:clear-seq-arguments])
|
||||
(dispatch [:navigate-to :chat chat-id])
|
||||
(js/setTimeout #(dispatch [:select-chat-input-command {:name "send"}]) 500))))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user