From 2b2500e728f8c41b5eef8d924b0428261e8e4bd1 Mon Sep 17 00:00:00 2001 From: Cristian Giordano Date: Fri, 5 Jul 2024 23:19:26 +0200 Subject: [PATCH] ColorPalette: fixes --- src/components/ColorPalette.tsx | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/src/components/ColorPalette.tsx b/src/components/ColorPalette.tsx index 3e9158c..4076cc0 100644 --- a/src/components/ColorPalette.tsx +++ b/src/components/ColorPalette.tsx @@ -18,21 +18,23 @@ export default function ColorPalette({ colors, rawColors }) { } return ( - <> - {colorArray.map(e => -

- {e.name} - {e.hex} -

- - )} - + <> + {colorArray.map((e) => ( +
+ {e.name} - {e.hex} +
+ ))} + ) } \ No newline at end of file