         (println response)
         (if (clojure.string/blank? error)
           (doseq [p posts]
-            (println (process-json-post p))
+            #_(println (process-json-post p))
             (swap! saved-posts #(conj % %2) (assoc (:data p) :key (-> p :data :id))))
           (handle-error (str error " " (:error-text response) "\nYour API token might've expired"))))))
 

   [:div {:class "list-group"}
    (for [p @saved-posts]
      [post-html p])]
   [:p "Reddit API Token: "
    [:input {:type "text" :id "token" :name "token"
             :value (:token @app-state) :readOnly "true"}]]

  [:div {:class "panel panel-default" :href (if (nil? (:title p)) (:link_url p) (:url p))}
   [:div {:class "panel-heading"}
    [:h4 {:class "panel-title"}
     [:a {:href (if (nil? (:title p)) (:link_url p) (:url p))}
      (if (nil? (:title p)) (:link_title p) (:title p))] " "
     [:a {:href (str "https://www.reddit.com/r/" (:subreddit p))} [:span {:class "badge"} (:subreddit p)]]]]
   [:div {:class "panel-body"}
    [:small  "submitted by " [:a {:href (str "https://www.reddit.com/user/" (:author p))} [:small (:author p)]]]]])

(defn main-html []
  [:div {:class "col-md-12"}
