From eca487afc578ff6fce8417b3dafe7df168af4ad7 Mon Sep 17 00:00:00 2001 From: tmimmanuel <14046872+tmimmanuel@users.noreply.github.com> Date: Wed, 6 May 2026 13:40:38 -1000 Subject: [PATCH] :recycle: Migrate frame-preview to modern component syntax (#9382) 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.cljs | 2 +- frontend/src/app/main/ui/frame_preview.cljs | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/src/app/main/ui.cljs b/frontend/src/app/main/ui.cljs index ca37930376..c8a14df857 100644 --- a/frontend/src/app/main/ui.cljs +++ b/frontend/src/app/main/ui.cljs @@ -362,7 +362,7 @@ :share share}]) :frame-preview - [:& frame-preview/frame-preview] + [:> frame-preview/frame-preview*] nil)])) diff --git a/frontend/src/app/main/ui/frame_preview.cljs b/frontend/src/app/main/ui/frame_preview.cljs index de15702d97..ca2f2288ee 100644 --- a/frontend/src/app/main/ui/frame_preview.cljs +++ b/frontend/src/app/main/ui/frame_preview.cljs @@ -9,9 +9,8 @@ [app.common.data :as d] [rumext.v2 :as mf])) -(mf/defc frame-preview - {::mf/wrap-props false - ::mf/wrap [mf/memo]} +(mf/defc frame-preview* + {::mf/wrap [mf/memo]} [] (let [iframe-ref (mf/use-ref nil)