 
 
 (defn mount-components []
-  (reagent/render-component [tab-list] (.getElementById js/document "tab-list"))
+  (reagent/render-component [current-tabs] (.getElementById js/document "tab-list"))
   (reagent/render-component [tab-groups] (.getElementById js/document "tab-groups")))
 
 

                  :on-click (:action @modal-info)} (:action-label @modal-info)]
        ]])))

(defn list-tabs [tabs]
  (for [tab (sort-by :index tabs)]
    ^{:key (:id tab)}
    [:tr
     [:td (:id tab)]
     [:td (:title tab)]
     [:td (:url tab)]]))

(defn tab-list []
  (let [tabs (reaction (filter-tabs @(subscribe [:data :tabs])))]
    (fn []
      [:div

(register-handler
  :initialize
  (fn [_ [_ tabs]]
    (go (dispatch [:storage-loaded (<! (storage/get))]))
    {:data {:tabs tabs}}))

