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>
|
<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 />
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user