 ;; 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)))
+    (events/listen
+      EventType/NAVIGATE
+      (fn [event]
+        (secretary/dispatch! (.-token event))))
+    (.setEnabled true)))
 
 ;; -------------------------
 ;; Initialize app

(defn tea-adder
  "A component for the tea-adder form"
  []
  (fn [] 
    [:div.row
     [:div.col-md-12
      [:form {:post "/api/newtea"}

;; this passes the value of the new tea atom into the post-to-teas-db function

(defn list-page []
  [:div.container
   [:div.row
    [:div.col-md-12
     "Here is a list of teas"]]
   [:div.row {:style {:display "flex" :align-items "flex-end"}}
    [:div.col-md-6
     [tealister]]
    [:div.col-md-6
     [tea-edit]
     [tea-adder]]]])


(def pages
