diff options
Diffstat (limited to 'src/frontend/tau/core.cljs')
-rw-r--r-- | src/frontend/tau/core.cljs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/frontend/tau/core.cljs b/src/frontend/tau/core.cljs index 3cad0ba..ab538f3 100644 --- a/src/frontend/tau/core.cljs +++ b/src/frontend/tau/core.cljs @@ -1,9 +1,8 @@ (ns tau.core (:require - [day8.re-frame.http-fx] [reagent.dom :as rdom] [re-frame.core :as rf] - [tau.events] + [tau.events :as events] [tau.routes :as routes] [tau.subs] [tau.views :as views])) @@ -11,12 +10,12 @@ (defn ^:dev/after-load mount-root [] (rf/clear-subscription-cache!) + (routes/start-routes!) (rdom/render [views/app] (.querySelector js/document "#app"))) (defn ^:export init [] - (routes/start-routes!) - (rf/dispatch-sync [:initialize-db]) + (rf/dispatch-sync [::events/initialize-db]) (mount-root)) |