             [markdown.core :refer [md->html]]
             [ajax.core :as ajax :refer [GET POST]])
   (:import goog.History))
-
-;; MODEL
-
-(def app-state {:teas-list (reagent/atom nil) :new-tea (reagent/atom nil) :edit-tea-id (reagent/atom nil)
-                :edit-tea (reagent/atom nil) :edit-tea-snap (reagent/atom nil) :show-edit (reagent/atom false)})
-
-;; VIEW
 
 (defn nav-link [uri title page collapsed?]
   [:li {:class (when (= page (session/get :page)) "active")}

       [:div {:dangerouslySetInnerHTML
              {:__html (md->html docs)}}]]])])



(defn tealister
  "The page component for listing tea"

          [:tr
           [:td [:li]]
           [:td (second tea)]
           [:td [:input.btn.btn-success {:type "button" :value "Edit" :on-click #(show-edit-form (first tea) (second tea))}]]])]]]]))


(defn tea-adder
