                         (dom/span #js {:className "duration"} "Length")
                         (dom/button #js {:onClick #(dequeue-all)} "-"))
                (map #(om/build queue-track-view
-                             %1
-                             {:state {:index %2}})
+                               %1
+                               {:state {:index %2}})
                     queue (range 0 999))
                )))))
 

    (render [this]
      (dom/nav nil
               (dom/ul nil
                       (dom/li {:onClick #(show-tab :library)}
                               "library")
                       (dom/li  {:onClick #(show-tab :player)}
                                "player"))))))




(defn player-queue []
  (om/ref-cursor (:player-queue (om/root-cursor app-state))))

(defn tab-on-view []
  (om/ref-cursor (:tab-on-view (om/root-cursor app-state))))

(defn enqueue-track [track]
  (om/transact! (player-queue) #(conj % track)))
