fix: lint

This commit is contained in:
charlie
2023-04-18 19:31:05 +08:00
parent 2887a9c56b
commit 0939aac5b5
2 changed files with 7 additions and 8 deletions

View File

@@ -313,8 +313,8 @@
(defn attach-order-list-state
[config block]
(let [own-order-list-type (some-> block :block/properties :logseq.order-list-type str string/lower-case)]
(let [own-order-list-index (some->> own-order-list-type (get-idx-of-order-list-block block))]
(assoc config :own-order-list-type own-order-list-type
:own-order-list-index own-order-list-index
:own-order-number-list? (= own-order-list-type "number")))))
(let [own-order-list-type (some-> block :block/properties :logseq.order-list-type str string/lower-case)
own-order-list-index (some->> own-order-list-type (get-idx-of-order-list-block block))]
(assoc config :own-order-list-type own-order-list-type
:own-order-list-index own-order-list-index
:own-order-number-list? (= own-order-list-type "number"))))