🐛 Fix cut/delete text layer when while creating text

This commit is contained in:
Alejandro Alonso 2023-07-07 10:20:04 +02:00
parent fdbabe49df
commit 99693f0fc2
2 changed files with 3 additions and 1 deletions

View file

@ -142,7 +142,8 @@
(rx/merge
(rx/of (update-editor-state shape nil))
(when (and (not= content (:content shape))
(some? (:current-page-id state)))
(some? (:current-page-id state))
(some? shape))
(rx/of
(dch/update-shapes
[id]