mirror of
https://github.com/penpot/penpot.git
synced 2025-05-25 15:07:37 +02:00
🐛 Fix local assert when deleting text
This commit is contained in:
parent
d2777f5915
commit
895889d27a
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue