fix: do not show community view until it's loaded (#18570)
This commit is contained in:
parent
7cc570b6d0
commit
61c0650cec
|
@ -370,9 +370,10 @@
|
|||
(let [{:keys [id joined]
|
||||
:as community} (rf/sub [:communities/community id])
|
||||
pending? (rf/sub [:communities/my-pending-request-to-join id])]
|
||||
(when community
|
||||
(when joined
|
||||
(rf/dispatch [:activity-center.notifications/dismiss-community-overview id]))
|
||||
[community-scroll-page community pending?]))
|
||||
[community-scroll-page community pending?])))
|
||||
|
||||
(defn overview
|
||||
[id]
|
||||
|
|
Loading…
Reference in New Issue