0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

🐛 Fix local assert when deleting text

This commit is contained in:
alonso.torres 2021-07-08 16:02:21 +02:00
parent d2777f5915
commit 895889d27a

View file

@ -68,7 +68,7 @@
(dch/update-shapes [id] #(assoc % :content content)) (dch/update-shapes [id] #(assoc % :content content))
(dwu/commit-undo-transaction))))) (dwu/commit-undo-transaction)))))
(rx/of (dws/deselect-shape id) (rx/of (dws/deselect-shape id)
(dwc/delete-shapes [id]))))))) (dwc/delete-shapes #{id})))))))
(defn initialize-editor-state (defn initialize-editor-state
[{:keys [id content] :as shape} decorator] [{:keys [id content] :as shape} decorator]