0
Fork 0
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:
Andrey Antukh 2016-02-27 21:12:52 +02:00
parent abed5dd35d
commit c2821ea617

View file

@ -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]]])))