 
 (defn sync-atom-to-event
   [atom target-value]
-    (reset! atom (->
-                  target-value
-                  .-target
-                  .-value)))
+  (reset! atom (->
+                 target-value
+                 .-target
+                 .-value)))
 
 (def sync-new-tea (partial sync-atom-to-event new-tea))
 (def sync-edit-tea (partial sync-atom-to-event edit-tea))

;; must be called after routes have been defined
(defn hook-browser-navigation! []
  (doto (History.)
        (events/listen
          EventType/NAVIGATE
          (fn [event]
              (secretary/dispatch! (.-token event))))
        (.setEnabled true)))

;; -------------------------
;; Initialize app

(defn tea-edit
  "The edit/delete form component"
  []
  (fn []
    [:div.form-group
     [:div.row
      [:div.col-md-12
