 (defmethod readf :default
   [{:keys [state] :as env} k params]
   (if-let [v (get @state k)]
-    {:value k}
+    {:value v}
     {:value nil}
     )
   )

                        (map (fn [tab]
                        (dom/li
                          #js
                          {:className "active", :role "presentation"}
                          (dom/a
                          #js
                          {:shape "rect",
                            :href "#home",
                            :aria-controls "home",
                            :role "tab",
                            :data-toggle "tab"}
                          (:title tab))))
                             tabs))
                    )
            )
          )

(def tabs
  [
   {:key :countries
    :url-path ["countries"]
    :title "Countries"
    :component CountriesTab
    }
   {:key :oceans
    :url-path ["oceans"]
    :title "Oceans"
    :component OceansTab
    }
   {:key :hello
    :url-path ["hello-world"]
    :title "Just «Hello, World!» in it"
    :component HelloTab
    }
