fix lints

This commit is contained in:
llcc
2022-05-05 11:44:28 +08:00
parent 0b6041c17d
commit 744f1b4964
3 changed files with 4 additions and 8 deletions

View File

@@ -7,9 +7,6 @@
[frontend.components.datetime :as datetime-comp]
[frontend.components.search :as search]
[frontend.components.svg :as svg]
[frontend.mobile.camera :as mobile-camera]
[frontend.mobile.util :as mobile-util]
[frontend.config :as config]
[frontend.db :as db]
[frontend.db.model :as db-model]
[frontend.extensions.zotero :as zotero]
@@ -26,9 +23,7 @@
[goog.dom :as gdom]
[promesa.core :as p]
[rum.core :as rum]
[frontend.handler.history :as history]
[frontend.mobile.footer :as footer]
[frontend.handler.config :as config-handler]))
[frontend.mobile.footer :as footer]))
(rum/defc commands < rum/reactive
[id format]

View File

@@ -46,7 +46,8 @@
(rum/defc footer < rum/reactive
[]
(when (state/sub :mobile/show-tabbar?)
(when (and (state/sub :mobile/show-tabbar?)
(state/get-current-repo))
[:div.cp__footer.w-full.bottom-0.justify-between
(audio-record-cp)
(mobile-bar-command #(state/toggle-document-mode!) "notes")

View File

@@ -13,7 +13,7 @@
[cljs-time.coerce :as tc]
[cljs-time.core :as t]
[dommy.core :as d]
[frontend.mobile.util :refer [native-platform? native-ios?]]
[frontend.mobile.util :refer [native-platform?]]
[goog.dom :as gdom]
[goog.object :as gobj]
[goog.string :as gstring]