Skip to content

Commit 2ba8762

Browse files
committed
nit
Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
1 parent 6ae10a2 commit 2ba8762

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/src/side-panel/layer-panel/custom-palette.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ export const CustomPaletteInput: React.FC<CustomPaletteInputProps> = ({
471471
/>
472472
</StyledColorHexInput>
473473
) : null}
474-
{isNumericColorBreaks(colorBreaks) && colorBreaks && index < colorBreaks.length ? (
474+
{colorBreaks && index < colorBreaks.length && isNumericColorBreaks(colorBreaks) ? (
475475
<EditableColorRange
476476
item={colorBreaks[index]}
477477
isLast={index === colorBreaks.length - 1}

0 commit comments

Comments
 (0)