Skip to content
Merged
Prev Previous commit
Next Next commit
Format
  • Loading branch information
oandregal committed Jul 12, 2021
commit 5b00297218e1d57d89ee6909ffee89acda093c14
2 changes: 1 addition & 1 deletion packages/components/src/duotone-picker/duotone-picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function DuotonePicker( {
{ ! disableCustomColors && (
<CustomDuotoneBar value={ value } onChange={ onChange } />
) }
{ ( ! disableCustomColors || ( colorPalette?.length > 0 ) ) && (
{ ( ! disableCustomColors || colorPalette?.length > 0 ) && (
<ColorListPicker
labels={ [ __( 'Shadows' ), __( 'Highlights' ) ] }
colors={ colorPalette }
Expand Down