From ca92e0eb7fe82f0a9ecb8f3b24a5790d7a386115 Mon Sep 17 00:00:00 2001 From: Weihua Lu Date: Fri, 9 Jul 2021 16:47:04 +0800 Subject: [PATCH] chore: clean ns --- src/main/frontend/components/sidebar.cljs | 51 +++++++++-------------- 1 file changed, 20 insertions(+), 31 deletions(-) diff --git a/src/main/frontend/components/sidebar.cljs b/src/main/frontend/components/sidebar.cljs index 7903652a5..0ce42e6f4 100644 --- a/src/main/frontend/components/sidebar.cljs +++ b/src/main/frontend/components/sidebar.cljs @@ -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]