diff --git a/src/status_im/contexts/communities/overview/view.cljs b/src/status_im/contexts/communities/overview/view.cljs index 51c8e47887..a8fbf1d440 100644 --- a/src/status_im/contexts/communities/overview/view.cljs +++ b/src/status_im/contexts/communities/overview/view.cljs @@ -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 joined - (rf/dispatch [:activity-center.notifications/dismiss-community-overview id])) - [community-scroll-page community pending?])) + (when community + (when joined + (rf/dispatch [:activity-center.notifications/dismiss-community-overview id])) + [community-scroll-page community pending?]))) (defn overview [id]