From eb6bc50a01e90cd396bbcc92afb0e350c7d20672 Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Thu, 6 Oct 2022 17:04:20 +0500 Subject: [PATCH] [DE PE SSE mobile] Fix Bug 59230 --- apps/common/mobile/lib/component/ThemeColorPalette.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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}
)