diff --git a/frontend/src/app/main/ui/shapes/fills.cljs b/frontend/src/app/main/ui/shapes/fills.cljs index dca1f78a9..cea64f7ca 100644 --- a/frontend/src/app/main/ui/shapes/fills.cljs +++ b/frontend/src/app/main/ui/shapes/fills.cljs @@ -17,7 +17,7 @@ (def no-repeat-padding 1.05) -(mf/defc fills* +(mf/defc internal-fills {::mf/wrap-props false} [props] (let [shape (unchecked-get props "shape") @@ -120,7 +120,6 @@ (mf/defc fills {::mf/wrap-props false} [props] - (let [shape (unchecked-get props "shape") type (dm/get-prop shape :type) image (:fill-image shape) @@ -132,4 +131,4 @@ (> (count fills) 1) (some :fill-color-gradient fills) (some :fill-image fills)) - [:> fills* props]))) + [:> internal-fills props])))