fix: paste

This commit is contained in:
Tienson Qin
2026-04-28 11:57:19 +08:00
parent 9e3a592cff
commit 540e410320

View File

@@ -50,7 +50,8 @@
[block & {:as opts}]
(op-transact!
(when-let [block' (if (de/entity? block)
(dissoc (.-kv ^js block) :db/id)
(-> (dissoc (.-kv ^js block) :db/id)
(assoc :block/uuid (:block/uuid block)))
block)]
[:save-block [block' opts]])))