                         (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"

(re-frame/register-handler
  :initialize-db
  (fn [_ _]
    {:teas-list []
     :new-tea ""}))

(defn new-tea-entered
  [app-state [_ new-tea-input]]
  (assoc-in app-state [:new-tea] new-tea-input))

(re-frame/register-handler
  :new-tea-entry
  new-tea-entered)

(re-frame/register-handler
  :replace-tea

  (fn [db]
    (reaction (:new-tea @db))))

(re-frame/register-handler
  :tea-posted
  (fn [app-state]
    (re-frame/dispatch [:load-teas])))

(re-frame/register-handler
  :create-tea
  (fn [app-state [_ tea-name]]
    (ajax/POST "/api/newtea" {:params {:new-tea tea-name}
                              :format :json
                              :handler #(re-frame/dispatch [:tea-posted])
                              :error-handler (fn [err] (println "New Tea Failed To Post" err))})
    app-state))

(defn value-event
  [event]
