♻️ Cleanup of componentsv2

This commit is contained in:
Pablo Alba 2025-04-01 16:45:40 +02:00
parent 1e16fb8ca2
commit f961b75bba
39 changed files with 282 additions and 1207 deletions

View file

@ -1462,8 +1462,6 @@
(:objects page)
(:id page)
file-id
true
nil
cfsh/prepare-create-artboard-from-selection)]
(shape-cb shape)

View file

@ -179,7 +179,7 @@
component-child (first component-children)]
(if (or (nil? child) (nil? component-child))
container
(let [container (if (and (not (ctk/is-main-of? component-child child true))
(let [container (if (and (not (ctk/is-main-of? component-child child))
(nil? (ctk/get-swap-slot child))
(ctk/instance-head? child))
(let [slot (guess-swap-slot component-child component-container)]