 (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)
+    {:teas-list []}))
 
 (re-frame/register-handler
   :replace-tea

              :error-handler (fn [response]
                               (println "DELETE-TEA ERROR" response))
              :handler (fn [response]
                         (println tea-name " deleted.")
                         (re-frame/dispatch [:load-teas])))))

(re-frame/register-handler

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


