diff --git a/backend/src/app/features/components_v2.clj b/backend/src/app/features/components_v2.clj index 91449025a..9cc15aaef 100644 --- a/backend/src/app/features/components_v2.clj +++ b/backend/src/app/features/components_v2.clj @@ -746,10 +746,7 @@ (fix-shape [shape] (cond-> shape (@detached-ids (:shape-ref shape)) - (dissoc shape - :component-id - :component-file - :component-root)))] + (ctk/detach-shape)))] (-> file-data (update :pages-index update-vals fix-container) (d/update-when :components update-vals fix-container))))