1
0
Fork 0
mirror of https://github.com/heyarne/airsonic-ui.git synced 2026-05-06 18:33:38 +02:00

Remove unused imports

This commit is contained in:
Arne Schlüter 2018-11-24 18:56:24 +01:00
commit a6b14d6294

View file

@ -1,9 +1,7 @@
(ns airsonic-ui.components.library.views (ns airsonic-ui.components.library.views
(:require [re-frame.core :refer [subscribe]] (:require [re-frame.core :refer [subscribe]]
[airsonic-ui.config :as conf]
[airsonic-ui.routes :as routes :refer [url-for]] [airsonic-ui.routes :as routes :refer [url-for]]
[airsonic-ui.components.collection.views :as collection] [airsonic-ui.components.collection.views :as collection]))
[airsonic-ui.helpers :refer [add-classes]]))
(defn tabs [{:keys [items active-item]}] (defn tabs [{:keys [items active-item]}]
[:div.tabs [:div.tabs
@ -12,6 +10,7 @@
^{:key idx} [:li (when (= params active-item) ^{:key idx} [:li (when (= params active-item)
{:class-name "is-active"}) {:class-name "is-active"})
[:a {:href (apply url-for route)} label]]))]]) [:a {:href (apply url-for route)} label]]))]])
;; this variable determines how many pages before the first known page we should list ;; this variable determines how many pages before the first known page we should list
(def page-padding 2) (def page-padding 2)