diff --git a/apps/common/mobile/lib/component/ThemeColorPalette.jsx b/apps/common/mobile/lib/component/ThemeColorPalette.jsx index 3c53ff558d..9a13256227 100644 --- a/apps/common/mobile/lib/component/ThemeColorPalette.jsx +++ b/apps/common/mobile/lib/component/ThemeColorPalette.jsx @@ -61,15 +61,15 @@ const CustomColors = ({ options, customColors, isTypeColors, onColorClick, curCo return (
- {colors && colors.length > 0 && colors.map((color, index) => { - return( + {colors && colors.length > 0 ? colors.map((color, index) => { + return ( {onColorClick(color)}} > ) - })} + }) : null} {emptyItems.length > 0 && emptyItems}
)