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
|
||||
:function :init
|
||||
:context {:from current-account-id}}))]
|
||||
; Reset validation messages, if any
|
||||
(dispatch [:set-chat-ui-props {:validation-messages nil}])
|
||||
(dispatch [:load-requests! chat-id])
|
||||
;; todo rewrite this. temporary fix for https://github.com/status-im/status-react/issues/607
|
||||
#_(dispatch [:load-commands! chat-id])
|
||||
|
|
Loading…
Reference in New Issue