From c2821ea617b4665ed9d68e13981d2165deeef8bf Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sat, 27 Feb 2016 21:12:52 +0200 Subject: [PATCH] Remove missing :key waring on recent colors. --- src/uxbox/ui/workspace/recent_colors.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/uxbox/ui/workspace/recent_colors.cljs b/src/uxbox/ui/workspace/recent_colors.cljs index 0fe37445a..6abd279ef 100644 --- a/src/uxbox/ui/workspace/recent_colors.cljs +++ b/src/uxbox/ui/workspace/recent_colors.cljs @@ -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]]])))