♻️ 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 <niwi@niwi.nz>
This commit is contained in:
tmimmanuel 2026-05-06 13:40:38 -10:00 committed by GitHub
parent bffec015d7
commit eca487afc5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

View File

@ -362,7 +362,7 @@
:share share}])
:frame-preview
[:& frame-preview/frame-preview]
[:> frame-preview/frame-preview*]
nil)]))

View File

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