FIX: Biome apply "unsafe" changes

This commit is contained in:
Nicolás Hatcher
2025-11-13 19:00:13 +01:00
committed by Nicolás Hatcher Andrés
parent 12342da649
commit 7e2fcec4a3

View File

@@ -173,18 +173,16 @@ const ColorPicker = ({
<RecentLabel>{t("color_picker.custom")}</RecentLabel> <RecentLabel>{t("color_picker.custom")}</RecentLabel>
<RecentColorsList> <RecentColorsList>
{recentColors.current.length > 0 ? ( {recentColors.current.length > 0 ? (
<> recentColors.current.map((recentColor) => (
{recentColors.current.map((recentColor) => ( <ColorSwatch
<ColorSwatch key={recentColor}
key={recentColor} $color={recentColor}
$color={recentColor} onClick={(): void => {
onClick={(): void => { setSelectedColor(recentColor);
setSelectedColor(recentColor); handleColorSelect(recentColor);
handleColorSelect(recentColor); }}
}} />
/> ))
))}
</>
) : ( ) : (
<EmptyContainer /> <EmptyContainer />
)} )}