From 88779dd50b0efc4e3e2b635d1eb69f4bd437950e Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 27 Dec 2023 20:26:36 +0100 Subject: [PATCH] :paperclip: Fix naming of fills react component --- frontend/src/app/main/ui/shapes/fills.cljs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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])))