diff --git a/frontend/src/app/main/ui/dashboard.cljs b/frontend/src/app/main/ui/dashboard.cljs index 0983b45bcb..b0ae43974b 100644 --- a/frontend/src/app/main/ui/dashboard.cljs +++ b/frontend/src/app/main/ui/dashboard.cljs @@ -154,9 +154,7 @@ (hooks/use-shortcuts ::dashboard sc/shortcuts) (mf/with-effect [profile team-id] - (when profile - ;; When doing logout we must avoid reinitializing the dashboard - (st/emit! (dd/initialize {:id team-id}))) + (st/emit! (dd/initialize {:id team-id})) (fn [] (dd/finalize {:id team-id})))