From 8c7230749c7f034d562a8ee4e5a8b878ce03d8ea Mon Sep 17 00:00:00 2001 From: makesomethingshit Date: Thu, 17 Sep 2026 22:37:51 +0900 Subject: [PATCH] :recycle: Migrate workspace zoom widget to modern syntax (#11637) Migrate zoom-widget-workspace to zoom-widget-workspace* following the modern rumext component syntax: drop ::mf/wrap-props false and switch the callsite from [:& ...] to [:> ...]. No behavior change. Part of #9260 AI-assisted-by: muse-spark-1.3-contributor Signed-off-by: makesomethingshit --- frontend/src/app/main/ui/workspace/right_header.cljs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/right_header.cljs b/frontend/src/app/main/ui/workspace/right_header.cljs index 54d1be1889..28233e3204 100644 --- a/frontend/src/app/main/ui/workspace/right_header.cljs +++ b/frontend/src/app/main/ui/workspace/right_header.cljs @@ -36,9 +36,8 @@ ;; --- Zoom Widget -(mf/defc zoom-widget-workspace - {::mf/wrap [mf/memo] - ::mf/wrap-props false} +(mf/defc zoom-widget-workspace* + {::mf/wrap [mf/memo]} [{:keys [zoom on-increase on-decrease on-zoom-reset on-zoom-fit on-zoom-selected]}] (let [open* (mf/use-state false) open? (deref open*) @@ -207,7 +206,7 @@ [:div {:class (stl/css :separator)}] [:div {:class (stl/css :zoom-section)} - [:& zoom-widget-workspace + [:> zoom-widget-workspace* {:zoom zoom :on-increase on-increase :on-decrease on-decrease