FIX: Biome apply "unsafe" changes
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
12342da649
commit
7e2fcec4a3
@@ -173,18 +173,16 @@ const ColorPicker = ({
|
||||
<RecentLabel>{t("color_picker.custom")}</RecentLabel>
|
||||
<RecentColorsList>
|
||||
{recentColors.current.length > 0 ? (
|
||||
<>
|
||||
{recentColors.current.map((recentColor) => (
|
||||
<ColorSwatch
|
||||
key={recentColor}
|
||||
$color={recentColor}
|
||||
onClick={(): void => {
|
||||
setSelectedColor(recentColor);
|
||||
handleColorSelect(recentColor);
|
||||
}}
|
||||
/>
|
||||
))}
|
||||
</>
|
||||
recentColors.current.map((recentColor) => (
|
||||
<ColorSwatch
|
||||
key={recentColor}
|
||||
$color={recentColor}
|
||||
onClick={(): void => {
|
||||
setSelectedColor(recentColor);
|
||||
handleColorSelect(recentColor);
|
||||
}}
|
||||
/>
|
||||
))
|
||||
) : (
|
||||
<EmptyContainer />
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user