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)