♻️ 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 <niwi@niwi.nz>
This commit is contained in:
tmimmanuel 2026-05-19 01:09:24 -10:00 committed by GitHub
parent e854309049
commit 54a866d0b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -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]

View File

@ -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)