From 81f03c0b449bec1fa60cf2936bfc3f66a5ad58c1 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Tue, 17 Jan 2023 13:17:40 +0100 Subject: chore: Rename project --- src/frontend/tau/core.cljs | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/frontend/tau/core.cljs (limited to 'src/frontend/tau/core.cljs') 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)) -- cgit v1.2.3