From 890ce378a73519e045857f03ad5979b71977a9bd Mon Sep 17 00:00:00 2001 From: Dexterity <173429049+Dexterity104@users.noreply.github.com> Date: Wed, 10 Jun 2026 04:54:46 -0400 Subject: [PATCH] :recycle: Migrate template-item to modern component syntax (#9441) Co-authored-by: Andrey Antukh --- frontend/src/app/main/ui/onboarding/templates.cljs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/main/ui/onboarding/templates.cljs b/frontend/src/app/main/ui/onboarding/templates.cljs index d6d7a95135..3fccd1dc60 100644 --- a/frontend/src/app/main/ui/onboarding/templates.cljs +++ b/frontend/src/app/main/ui/onboarding/templates.cljs @@ -19,7 +19,7 @@ [beicon.v2.core :as rx] [rumext.v2 :as mf])) -(mf/defc template-item +(mf/defc template-item* [{:keys [name path image project-id]}] (let [downloading? (mf/use-state false) link (dm/str (assoc cf/public-uri :path path)) @@ -78,12 +78,12 @@ [:p (tr "onboarding.templates.subtitle")] [:div.templates - [:& template-item + [:> template-item* {:path "/github/penpot-files/Penpot-Design-system.penpot" :image "https://penpot.app/images/libraries/cover-ds-penpot.jpg" :name "Penpot Design System" :project-id project-id}] - [:& template-item + [:> template-item* {:path "/github/penpot-files/Material-Design-Kit.penpot" :image "https://penpot.app/images/libraries/cover-material.jpg" :name "Material Design Kit"