chore: clean ns

pull/2400/head
Weihua Lu 2021-07-09 16:47:04 +08:00
parent 896fe7e09a
commit ca92e0eb7f
1 changed files with 20 additions and 31 deletions

View File

@ -1,39 +1,28 @@
(ns frontend.components.sidebar
(:require [rum.core :as rum]
[frontend.ui :as ui]
[frontend.components.theme :as theme]
[frontend.mixins :as mixins]
[frontend.db-mixins :as db-mixins]
[frontend.db :as db]
[frontend.components.widgets :as widgets]
[frontend.components.journal :as journal]
[frontend.components.page :as page]
[frontend.components.settings :as settings]
[frontend.components.svg :as svg]
[frontend.components.repo :as repo]
[frontend.components.commit :as commit]
[frontend.components.header :as header]
[frontend.components.right-sidebar :as right-sidebar]
[frontend.storage :as storage]
[frontend.util :as util]
[frontend.state :as state]
[frontend.handler.ui :as ui-handler]
[frontend.handler.user :as user-handler]
[frontend.handler.editor :as editor-handler]
[frontend.handler.route :as route-handler]
[frontend.handler.export :as export]
[frontend.handler.repo :as repo-handler]
[frontend.handler.web.nfs :as nfs-handler]
[frontend.config :as config]
[dommy.core :as d]
(:require [cljs-drag-n-drop.core :as dnd]
[clojure.string :as string]
[goog.object :as gobj]
[frontend.components.header :as header]
[frontend.components.journal :as journal]
[frontend.components.repo :as repo]
[frontend.components.right-sidebar :as right-sidebar]
[frontend.components.settings :as settings]
[frontend.components.theme :as theme]
[frontend.components.widgets :as widgets]
[frontend.config :as config]
[frontend.context.i18n :as i18n]
[reitit.frontend.easy :as rfe]
[goog.dom :as gdom]
[frontend.db :as db]
[frontend.db-mixins :as db-mixins]
[frontend.handler.editor :as editor-handler]
[frontend.handler.repo :as repo-handler]
[frontend.handler.route :as route-handler]
[frontend.handler.web.nfs :as nfs-handler]
[frontend.mixins :as mixins]
[frontend.modules.shortcut.data-helper :as shortcut-dh]
[cljs-drag-n-drop.core :as dnd]))
[frontend.state :as state]
[frontend.ui :as ui]
[frontend.util :as util]
[goog.dom :as gdom]
[rum.core :as rum]))
(defn nav-item
[title href svg-d active? close-modal-fn]