🐛 Fix components with bool shape as root on comp-v2 migration

This commit is contained in:
Andrey Antukh 2024-01-24 14:09:52 +01:00
parent 4ab4ad96f0
commit aaeb8c8868

View file

@ -408,7 +408,8 @@
(fix-shape [shape]
(if (and (ctk/instance-head? shape)
(cfh/path-shape? shape))
(or (cfh/path-shape? shape)
(cfh/bool-shape? shape)))
(ctk/detach-shape shape)
shape))]