mirror of
https://github.com/penpot/penpot.git
synced 2025-03-13 08:11:30 -05:00
Remove missing :key waring on recent colors.
This commit is contained in:
parent
abed5dd35d
commit
c2821ea617
1 changed files with 2 additions and 1 deletions
|
@ -50,9 +50,10 @@
|
|||
[:div.row-flex
|
||||
(for [color colors]
|
||||
[:span.color-th {:style {:background color}
|
||||
:key color
|
||||
:on-click (partial callback color)}])
|
||||
(for [i (range (- 5 (count colors)))]
|
||||
[:span.color-th])
|
||||
[:span.color-th {:key (str "empty" i)}])
|
||||
|
||||
[:span.color-th.palette-th {:on-click toggle-colorpalette}
|
||||
i/palette]]])))
|
||||
|
|
Loading…
Add table
Reference in a new issue