diff --git a/frontend/src/app/main/ui/workspace/tokens/core.cljs b/frontend/src/app/main/ui/workspace/tokens/core.cljs index 0a1e6c54d..467d47c7b 100644 --- a/frontend/src/app/main/ui/workspace/tokens/core.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/core.cljs @@ -148,9 +148,12 @@ :attrs ctt/border-radius-keys})) (defn update-shape-dimensions [value shape-ids] - (st/emit! - (dwt/update-dimensions shape-ids :width value) - (dwt/update-dimensions shape-ids :height value))) + (ptk/reify ::update-shape-dimensions + ptk/WatchEvent + (watch [_ _ _] + (rx/of + (dwt/update-dimensions shape-ids :width value) + (dwt/update-dimensions shape-ids :height value))))) (defn update-opacity [value shape-ids] (st/emit!