         header (condp = @state
                  :write "Make a new memory"
                  :remember "Remember"
-                 ""
-                 )]
+                 "")]
     (if (not-empty header)
       [:h1 {:id "forms"} header])
     ))



(defn content-section []
  (let [current (subscribe [:ui-state :section])]
    (condp = @current
      :login [login-form]
      :write [write-section]

  (reagent/render-component [navbar] (.getElementById js/document "navbar"))
  (reagent/render-component [content-section] (.getElementById js/document "content-section"))
  (reagent/render-component [alert] (.getElementById js/document "alert"))
  (reagent/render-component [header] (.getElementById js/document "header")))

(defn init! []
  (dispatch-sync [:initialize])
