diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-01-17 13:17:40 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-01-17 13:17:40 +0100 |
commit | 81f03c0b449bec1fa60cf2936bfc3f66a5ad58c1 (patch) | |
tree | a2a7aa01f61dd71b511dd3729a9f4b28c35b531f /src/frontend/tau/core.cljs | |
parent | 5e995881dd0c431ae63b1a50c2d03e59962241f1 (diff) |
chore: Rename project
Diffstat (limited to 'src/frontend/tau/core.cljs')
-rw-r--r-- | src/frontend/tau/core.cljs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/frontend/tau/core.cljs b/src/frontend/tau/core.cljs deleted file mode 100644 index 7665a20..0000000 --- a/src/frontend/tau/core.cljs +++ /dev/null @@ -1,22 +0,0 @@ -(ns tau.core - (:require - ["react-dom/client" :as rdom] - [reagent.core :as r] - [re-frame.core :as rf] - [tau.events :as events] - [tau.routes :as routes] - [tau.subs] - [tau.views :as views])) - -(defonce root (rdom/createRoot (.querySelector js/document "#app"))) - -(defn ^:dev/after-load mount-root - [] - (rf/clear-subscription-cache!) - (routes/start-routes!) - (.render root (r/as-element [views/app]))) - -(defn ^:export init - [] - (rf/dispatch-sync [::events/initialize-db]) - (mount-root)) |