From 58fae0a04ded5ca3206ef1b26f106f3136712c4a Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Fri, 24 Apr 2026 10:10:00 +0200 Subject: [PATCH] :bug: Fix text.cljs error from staging merge --- .../ui/workspace/sidebar/options/menus/text.cljs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/text.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/text.cljs index 974a943b55..504856d22e 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/text.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/text.cljs @@ -429,12 +429,12 @@ (when (not= "INPUT" (-> (dom/get-active) dom/get-tag-name)) (dom/focus! (txu/get-text-editor-content))))))) - opts (mf/props - {:ids ids - :values values - :on-change on-change - :show-recent true - :on-blur on-text-blur})] + common-props (mf/props + {:ids ids + :values values + :on-change on-change + :show-recent true + :on-blur on-text-blur})] (hooks/use-stream expand-stream @@ -498,11 +498,11 @@ :icon i/detach}]] :else - [:> text-options* opts]) + [:> text-options* common-props]) [:div {:class (stl/css :text-align-options)} [:> text-align-options* common-props] - [:> grow-options* (mf/spread-props common-props {:ids ids})] + [:> grow-options* common-props] [:> icon-button* {:variant "ghost" :aria-label (tr "labels.options") :data-testid "text-align-options-button"