                         (re-frame/dispatch [:delete-tea (:name tea)]))
             :style {:margin-right "10px"}}
            "Delete"]]]
-        [:tr
-         [:td.pull-left {:on-click #(swap! edit? not)} (:name tea)]]))))
+        [:tr {:on-click #(swap! edit? not)}
+         [:td.pull-left (:name tea)]]))))
 
 (defn tealister
   "The page component for listing tea"

    (ajax/GET (str "/api/teas/" id "/update/" new-name)
              :error-handler (fn [response]
                               (println "UPDATE-TEA ERROR " response))
              :handler (fn [response] (println response)))
    app-db))



(defn tea-adder
  "A component for the tea-adder form"
  []
  (let [tmp-new-tea (reagent/atom "")]
    (fn []
      [:div.row
       [:div.col-md-12
        [:input.form-control {:type "text"
                              :placeholder "Name of New Tea"
                              :value @tmp-new-tea
                              :on-change #(reset! tmp-new-tea (value-event %))}]
        [:button.btn.btn-primary.pull-right {:style {:margin-top "10px"}
                                             :on-click #(re-frame/dispatch [:create-tea @tmp-new-tea]
                                                                           (reset! tmp-new-tea ""))} (str "Add " @tmp-new-tea)]]])))

(defn list-page []
  [:div.container
