 (re-frame/register-handler
   :process-teas-response
   (fn [app-db [_ response]]
-    (println response)
     (assoc-in app-db [:teas-list] response)))
 
 (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] (println response)))
    app-db))



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

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