mirror of
https://github.com/penpot/penpot.git
synced 2025-03-15 09:11:21 -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
|
[:div.row-flex
|
||||||
(for [color colors]
|
(for [color colors]
|
||||||
[:span.color-th {:style {:background color}
|
[:span.color-th {:style {:background color}
|
||||||
|
:key color
|
||||||
:on-click (partial callback color)}])
|
:on-click (partial callback color)}])
|
||||||
(for [i (range (- 5 (count colors)))]
|
(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}
|
[:span.color-th.palette-th {:on-click toggle-colorpalette}
|
||||||
i/palette]]])))
|
i/palette]]])))
|
||||||
|
|
Loading…
Add table
Reference in a new issue