diff --git a/src/components/Settings/ColorSelector.tsx b/src/components/Settings/ColorSelector.tsx index cd8ed5af3..68a762989 100644 --- a/src/components/Settings/ColorSelector.tsx +++ b/src/components/Settings/ColorSelector.tsx @@ -44,12 +44,11 @@ export function ColorSelector({ type }: ColorControlProps) { }; const swatches = colors.map(({ color, swatch }) => ( - + setConfigColor(color)} - key={color} color={swatch} size={22} style={{ cursor: 'pointer' }} diff --git a/src/components/Settings/ShadeSelector.tsx b/src/components/Settings/ShadeSelector.tsx index f05b3dfc5..addbf0906 100644 --- a/src/components/Settings/ShadeSelector.tsx +++ b/src/components/Settings/ShadeSelector.tsx @@ -40,12 +40,11 @@ export function ShadeSelector() { }; const primarySwatches = primaryShades.map(({ swatch, shade }) => ( - + setConfigShade(shade)} - key={Number(shade)} color={swatch} size={22} style={{ cursor: 'pointer' }} @@ -54,12 +53,11 @@ export function ShadeSelector() { )); const secondarySwatches = secondaryShades.map(({ swatch, shade }) => ( - + setConfigShade(shade)} - key={Number(shade)} color={swatch} size={22} style={{ cursor: 'pointer' }}