fix: lint warnings

pull/4530/head^2
Tienson Qin 2022-03-15 11:24:35 +08:00
parent cdb28cc1c2
commit 130728adcd
1 changed files with 5 additions and 5 deletions

View File

@ -27,14 +27,14 @@
(and (= move-to :nested)
;; current block is already the first child of target-block
(and (= (:db/id (:block/left current-block))
(= (:db/id (:block/left current-block))
(:db/id (:block/parent current-block))
(:db/id target-block))))
(:db/id target-block)))
(and (= move-to :sibling)
;; current block is already the next sibling of target-block
(and (= (:db/id (:block/left current-block))
(:db/id target-block))))))))
(= (:db/id (:block/left current-block))
(:db/id target-block)))))))
(defn move-block
"There can be two possible situations: