mirror of
https://github.com/status-im/status-react.git
synced 2025-01-12 12:04:52 +00:00
Make sure validation-messages are nil when navigating to a chat
This commit is contained in:
parent
909f697efd
commit
adc55d6fb9
@ -274,6 +274,8 @@
|
|||||||
{:chat-id chat-id
|
{:chat-id chat-id
|
||||||
:function :init
|
:function :init
|
||||||
:context {:from current-account-id}}))]
|
:context {:from current-account-id}}))]
|
||||||
|
; Reset validation messages, if any
|
||||||
|
(dispatch [:set-chat-ui-props {:validation-messages nil}])
|
||||||
(dispatch [:load-requests! chat-id])
|
(dispatch [:load-requests! chat-id])
|
||||||
;; todo rewrite this. temporary fix for https://github.com/status-im/status-react/issues/607
|
;; todo rewrite this. temporary fix for https://github.com/status-im/status-react/issues/607
|
||||||
#_(dispatch [:load-commands! chat-id])
|
#_(dispatch [:load-commands! chat-id])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user