0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-18 10:41:29 -05:00

🐛 Properly remove invalid text shapes on comp-v2 migration

This commit is contained in:
Andrey Antukh 2024-01-29 15:39:04 +01:00
parent 9ca7c4280c
commit e43380ad61

View file

@ -284,7 +284,7 @@
(fn [shapes] (filterv #(not= id %) shapes)))))
(and (cfh/text-shape? shape)
(not (seq (:content shape))))
(not (valid-text-content? (:content shape))))
(dissoc objects id)
:else