fix: lint

This commit is contained in:
Tienson Qin
2025-07-04 02:43:52 +08:00
parent bc8b2de4ad
commit e373350aef
24 changed files with 140 additions and 240 deletions

View File

@@ -53,16 +53,6 @@
[block]
(get-timestamp block "Deadline"))
(defn indentable?
[{:block/keys [parent] :as block}]
(when parent
(not= (:db/id (ldb/get-first-child (db/get-db) (:db/id parent)))
(:db/id block))))
(defn outdentable?
[{:block/keys [level] :as _block}]
(not= level 1))
(defn select-block!
[block-uuid]
(let [blocks (util/get-blocks-by-id block-uuid)]