chore: clear code

This commit is contained in:
rcmerci
2021-04-14 17:59:50 +08:00
parent fa4dad5a6b
commit abbc2d2127

View File

@@ -2225,8 +2225,7 @@
(db/entity [:block/original-name (state/get-current-page)]))
file (:block/file page)
copied-blocks (state/get-copied-blocks)
copied-block-tree (:copy/block-tree copied-blocks)
_ (def aaa [text (:copy/content copied-blocks)])]
copied-block-tree (:copy/block-tree copied-blocks)]
(when (and (not (string/blank? text))
(= (string/trim text) (string/trim (:copy/content copied-blocks))))
;; copy from logseq internally