diff --git a/frontend/src/app/main/ui.cljs b/frontend/src/app/main/ui.cljs index 2777c0d4a..38f3e1f3e 100644 --- a/frontend/src/app/main/ui.cljs +++ b/frontend/src/app/main/ui.cljs @@ -108,7 +108,8 @@ (not= "0.0" (:main cf/version))) [:& app.main.ui.releases/release-notes-modal {:version (:main cf/version)}])) - [:& dashboard {:route route :profile profile}]] + (when profile + [:& dashboard {:route route :profile profile}])] :viewer (let [{:keys [query-params path-params]} route diff --git a/frontend/src/app/main/ui/dashboard.cljs b/frontend/src/app/main/ui/dashboard.cljs index 85c236b38..22fd5d524 100644 --- a/frontend/src/app/main/ui/dashboard.cljs +++ b/frontend/src/app/main/ui/dashboard.cljs @@ -154,7 +154,7 @@ (hooks/use-shortcuts ::dashboard sc/shortcuts) - (mf/with-effect [profile team-id] + (mf/with-effect [team-id] (st/emit! (dd/initialize {:id team-id})) (fn [] (st/emit! (dd/finalize {:id team-id}))))