     (console/trace "Created" (:tab msg))
     (assoc app-state [:data :tabs] (conj (get-in app-state [:data :tabs]) (:tab msg)))))
 
-(defn remove-tab
-  "Removed a tab from a collection by id"
-  [col id]
-  (remove #(= (:id %) id) col))
 
 (register-handler
   :log-content

  (with-meta identity
             {:component-did-mount #(.focus (reagent/dom-node %))}))


;;;;----------------------------
;;;; Handlers



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


