refactor: make state private

But state/sub still exposes the keys
This commit is contained in:
Yukun Guo
2020-11-13 16:32:10 +08:00
parent 17d1c3cbea
commit 7aee2ff288

View File

@@ -9,7 +9,7 @@
[dommy.core :as dom]
[cljs.core.async :as async]))
(defonce state
(defonce ^:private state
(atom
{:route-match nil
:today nil