diff --git a/lib/components/src/blocks/ColorPalette.tsx b/lib/components/src/blocks/ColorPalette.tsx
index 3705810d6671..763bff60c0f9 100644
--- a/lib/components/src/blocks/ColorPalette.tsx
+++ b/lib/components/src/blocks/ColorPalette.tsx
@@ -145,7 +145,7 @@ interface ColorProps {
isTransparent?: boolean;
}
-function renderSwatch(color: string, index: number, isTransparent: boolean) {
+function renderSwatch(color: string, index: number) {
return ;
}
@@ -165,7 +165,7 @@ function renderSwatchSpecimen(colors: Colors, isTransparent: boolean) {
return (
- {colors.map((color, index) => renderSwatch(color, index, isTransparent))}
+ {colors.map((color, index) => renderSwatch(color, index))}
{colors.map((color, index) => renderSwatchLabel(color, index))}
@@ -174,7 +174,7 @@ function renderSwatchSpecimen(colors: Colors, isTransparent: boolean) {
return (
- {Object.values(colors).map((color, index) => renderSwatch(color, index, isTransparent))}
+ {Object.values(colors).map((color, index) => renderSwatch(color, index))}
{Object.keys(colors).map((color, index) => renderSwatchLabel(color, index, colors[color]))}