From 8ddc7220f7966a0baa4f959c1a58988b7f7d3e19 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Fri, 19 May 2023 10:59:22 +0200 Subject: [PATCH] :bug: Fix problem with file-builder --- common/src/app/common/file_builder.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/app/common/file_builder.cljc b/common/src/app/common/file_builder.cljc index e2d61fa43f..63ecb5802d 100644 --- a/common/src/app/common/file_builder.cljc +++ b/common/src/app/common/file_builder.cljc @@ -241,7 +241,7 @@ (update :parent-stack conjv (:id obj))))) (defn close-artboard [file] - (let [parent-id (-> file :parent-id peek) + (let [parent-id (-> file :parent-stack peek) parent (lookup-shape file parent-id) current-frame-id (or (:frame-id parent) (when (nil? (:current-component-id file))