mirror of
https://github.com/status-im/status-react.git
synced 2025-01-24 09:49:51 +00:00
fix white screen when navigating back from a channel (#20326)
This commit is contained in:
parent
b4a0e74a4a
commit
ab93088d93
@ -202,7 +202,8 @@
|
||||
{:events [:chat/navigate-to-chat]}
|
||||
[{db :db :as cofx} chat-id animation]
|
||||
(rf/merge cofx
|
||||
{:dispatch [(if animation :shell/navigate-to :navigate-to) :chat chat-id animation]}
|
||||
(when-not (:current-chat-id db)
|
||||
{:dispatch [(if animation :shell/navigate-to :navigate-to) :chat chat-id animation]})
|
||||
(close-chat chat-id)
|
||||
(force-close-chat chat-id)
|
||||
(fn [{:keys [db]}]
|
||||
|
Loading…
x
Reference in New Issue
Block a user