        [:div {:dangerouslySetInnerHTML
               {:__html (md->html docs)}}]]])])
 
-
-;; (def teas-list (reagent/atom nil))
-;; (def new-tea (reagent/atom nil))
-(def edit-tea-id (reagent/atom nil))
-(def edit-tea (reagent/atom nil))
-(def edit-tea-snap (reagent/atom nil))
-(def show-edit (reagent/atom false))
-
 (re-frame/register-handler
   :process-teas-response
   (fn [app-db [_ response]]

    (assoc-in app-state [:teas-list] (replace {replaced-by
                                               {:id (:id replaced-by)
                                                :name edit-tea-input}}
                                      (:teas-list app-state)))))

(re-frame/register-sub
  :teas

  (let [teas (re-frame/subscribe [:teas])]
    (fn []
      [:div.row
       [:table.table.table-striped
        [:thead
         [:tr
          [:th "Tea Name"]]]
        [:tbody
         (for [tea @teas]
           ^{:key tea}
           [tea-edit-toggler tea])]]])))

(defn tea-adder
  "A component for the tea-adder form"
