From 54a866d0b517fe43ce62ee83e7f7dce0736e5722 Mon Sep 17 00:00:00 2001 From: tmimmanuel <14046872+tmimmanuel@users.noreply.github.com> Date: Tue, 19 May 2026 01:09:24 -1000 Subject: [PATCH] :recycle: Migrate workspace path-wrapper to modern component syntax (#9393) Signed-off-by: tmimmanuel <155203395+tmimmanuel@users.noreply.github.com> Co-authored-by: tmimmanuel <155203395+tmimmanuel@users.noreply.github.com> Co-authored-by: Andrey Antukh --- frontend/src/app/main/ui/workspace/shapes.cljs | 2 +- frontend/src/app/main/ui/workspace/shapes/path.cljs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/shapes.cljs b/frontend/src/app/main/ui/workspace/shapes.cljs index 62b7a2e471..51f4300be8 100644 --- a/frontend/src/app/main/ui/workspace/shapes.cljs +++ b/frontend/src/app/main/ui/workspace/shapes.cljs @@ -125,7 +125,7 @@ (not ^boolean (:hidden shape))) [:> wrapper-elem wrapper-props (case shape-type - :path [:> path/path-wrapper props] + :path [:> path/path-wrapper* props] :text [:> text/text-wrapper props] :group [:> group-wrapper props] :rect [:> rect-wrapper props] diff --git a/frontend/src/app/main/ui/workspace/shapes/path.cljs b/frontend/src/app/main/ui/workspace/shapes/path.cljs index 41c37e420d..8363e621a7 100644 --- a/frontend/src/app/main/ui/workspace/shapes/path.cljs +++ b/frontend/src/app/main/ui/workspace/shapes/path.cljs @@ -26,8 +26,7 @@ (let [shape (update shape :content types.path/apply-content-modifiers content-modifiers)] (types.path/update-geometry shape))) -(mf/defc path-wrapper - {::mf/wrap-props false} +(mf/defc path-wrapper* [{:keys [shape]}] (let [shape-id (dm/get-prop shape :id)