lint :all-the-things:

This commit is contained in:
Gabriel Horner
2022-01-13 16:32:12 -05:00
committed by Tienson Qin
parent 2401ce9e9a
commit 3ec587d6eb
45 changed files with 338 additions and 415 deletions

View File

@@ -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