mirror of
https://github.com/penpot/penpot.git
synced 2025-06-24 00:16:58 +02:00
💄 Remove ununsed prop on fill-menu component
This commit is contained in:
parent
e4a1c373bb
commit
827d39a406
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue