mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
lint :all-the-things:
This commit is contained in:
committed by
Tienson Qin
parent
2401ce9e9a
commit
3ec587d6eb
@@ -3,7 +3,7 @@
|
||||
[frontend.state :as state]
|
||||
[frontend.ui :as ui]
|
||||
[frontend.components.sidebar :as sidebar]
|
||||
[frontend.handler.plugin :refer [lsp-enabled?] :as plugin-handler]
|
||||
[frontend.handler.plugin :as plugin-handler]
|
||||
[frontend.context.i18n :as i18n]))
|
||||
|
||||
(rum/defc route-view
|
||||
@@ -34,7 +34,7 @@
|
||||
(when-let [route-match (state/sub :route-match)]
|
||||
(i18n/tongue-provider
|
||||
(let [route-name (get-in route-match [:data :name])]
|
||||
(if-let [view (:view (:data route-match))]
|
||||
(when-let [view (:view (:data route-match))]
|
||||
(if (= :draw route-name)
|
||||
(view route-match)
|
||||
(sidebar/sidebar
|
||||
|
||||
Reference in New Issue
Block a user