fixing figwheel

This commit is contained in:
Bryce Covert
2019-04-02 21:44:12 -07:00
parent 55fb386376
commit c28be9919a
7 changed files with 45 additions and 53 deletions

View File

@@ -1,4 +1,4 @@
(ns auto-ap.core
(ns ^:figwheel-hooks auto-ap.core
(:require [reagent.core :as reagent]
[re-frame.core :as re-frame]
[auto-ap.events :as events]
@@ -33,4 +33,8 @@
(pushy/start! p/history)
(mount-root))
(defn ^:after-load reload []
(mount-root))

View File

@@ -87,7 +87,7 @@
[:a {:class "navbar-item"
:on-click (fn []
(re-frame/dispatch [::events/swap-client nil]))
} "All"]
} "Allo" ]
[:hr {:class "navbar-divider"}]
(for [{:keys [name id] :as client} @clients]
^{:key id }
@@ -97,6 +97,7 @@
} name])]])]]
[login-dropdown]]]))
(defn footer []
[:footer {:style {:padding "1em"}}
[:div {:class "content has-text-centered"}