💄 Remove ununsed prop on fill-menu component

This commit is contained in:
Belén Albeza 2025-05-23 14:52:36 +02:00
parent e4a1c373bb
commit 827d39a406
3 changed files with 4 additions and 4 deletions

View file

@ -44,7 +44,7 @@
(mf/defc fill-menu
{::mf/wrap [#(mf/memo' % (mf/check-props ["ids" "values"]))]}
[{:keys [ids type values disable-remove?] :as props}]
[{:keys [ids type values] :as props}]
(let [label (case type
:multiple (tr "workspace.options.selection-fill")
:group (tr "workspace.options.group-fill")
@ -146,7 +146,7 @@
:title label
:class (stl/css-case :title-spacing-fill (not has-fills?))}
(when (and (not disable-remove?) (not (= :multiple fills)))
(when (not (= :multiple fills))
[:> icon-button* {:variant "ghost"
:aria-label (tr "workspace.options.fill.add-fill")
:on-click on-add