fix: lint warnings

This commit is contained in:
Tienson Qin
2024-01-03 16:45:11 +08:00
parent b7d9098e80
commit cf1e4691c2
11 changed files with 7 additions and 87 deletions

View File

@@ -14,8 +14,7 @@
[lambdaisland.glogi :as log]
[datascript.core :as d]
[logseq.db.frontend.property :as db-property]
[frontend.format.mldoc :as mldoc]
[frontend.worker.mldoc :as worker-mldoc]))
[frontend.format.mldoc :as mldoc]))
(defn- update-extracted-block-properties
"Updates DB graph blocks to ensure that built-in properties are using uuids
@@ -71,13 +70,6 @@ and handles unexpected failure."
([original-page-name with-id? with-timestamp?]
(gp-block/page-name->map original-page-name with-id? (db/get-db (state/get-current-repo)) with-timestamp? (state/get-date-formatter))))
(defn extract-refs-from-text
[text]
(worker-mldoc/extract-refs-from-text (state/get-current-repo)
(db/get-db (state/get-current-repo))
text
(state/get-date-formatter)))
(defn- normalize-as-percentage
[block]
(some->> block