From d4efd4183908fe1ca0a8cb185967e07dda6da59a Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 2 Apr 2026 16:30:51 +0000 Subject: [PATCH] :recycle: Convert image-upload to modern rumext * format Rename to image-upload*, update internal call site in top-toolbar* to [:> image-upload*]. --- frontend/src/app/main/ui/workspace/top_toolbar.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/top_toolbar.cljs b/frontend/src/app/main/ui/workspace/top_toolbar.cljs index 54a6bca3e0..5635365543 100644 --- a/frontend/src/app/main/ui/workspace/top_toolbar.cljs +++ b/frontend/src/app/main/ui/workspace/top_toolbar.cljs @@ -27,7 +27,7 @@ [potok.v2.core :as ptk] [rumext.v2 :as mf])) -(mf/defc image-upload +(mf/defc image-upload* {::mf/wrap [mf/memo]} [] (let [ref (mf/use-ref nil) @@ -181,7 +181,7 @@ :data-tool "text"} deprecated-icon/text]] - [:& image-upload] + [:> image-upload*] [:li [:button