diff --git a/src/views/components/common/Button/Button.tsx b/src/views/components/common/Button/Button.tsx index 7a126e63..689281a2 100644 --- a/src/views/components/common/Button/Button.tsx +++ b/src/views/components/common/Button/Button.tsx @@ -33,7 +33,7 @@ export function Button({ const Icon = icon; const isIconOnly = !children && !!icon; const colorHex = getThemeColorHexByName(color); - const colorRgb = getThemeColorRgbByName(color).join(' '); + const colorRgb = getThemeColorRgbByName(color)?.join(' '); return (