From 7e2fcec4a3bbadff0c04f1adb97c11fd3ab9f533 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Hatcher?= Date: Thu, 13 Nov 2025 19:00:13 +0100 Subject: [PATCH] FIX: Biome apply "unsafe" changes --- .../components/ColorPicker/ColorPicker.tsx | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/webapp/IronCalc/src/components/ColorPicker/ColorPicker.tsx b/webapp/IronCalc/src/components/ColorPicker/ColorPicker.tsx index b144019..3e561d6 100644 --- a/webapp/IronCalc/src/components/ColorPicker/ColorPicker.tsx +++ b/webapp/IronCalc/src/components/ColorPicker/ColorPicker.tsx @@ -173,18 +173,16 @@ const ColorPicker = ({ {t("color_picker.custom")} {recentColors.current.length > 0 ? ( - <> - {recentColors.current.map((recentColor) => ( - { - setSelectedColor(recentColor); - handleColorSelect(recentColor); - }} - /> - ))} - + recentColors.current.map((recentColor) => ( + { + setSelectedColor(recentColor); + handleColorSelect(recentColor); + }} + /> + )) ) : ( )}