        [:button {:type "button" :class "btn btn-default"} "Unsave"]]]]))
 
 (defn main-html [posts]
-  [:div {:class "col-md-12"}
+  [:div {:class "col-md-10"}
    [:h4 "Saved Posts"]
    [:div {:class "list-group"}
     (for [p @posts]

  (swap! error-msg #(str error))
  (r/render-component [error-html] (dommy/sel1 :#error)))


(defn get-saved-posts [& after]
  (let [saved-post-get-chan (if (nil? after)

                              :saved-for-reddit-app-state))

(def saved-posts (r/atom []))
(def subreddits (r/atom {}))

(def error-msg (r/atom ""))

(defn set-app-state-field [field value]
