diff --git a/packages/components/src/color-picker/inputs.js b/packages/components/src/color-picker/inputs.js index 8ef29d2951e675..6cbe6c04afca66 100644 --- a/packages/components/src/color-picker/inputs.js +++ b/packages/components/src/color-picker/inputs.js @@ -10,6 +10,7 @@ import { speak } from '@wordpress/a11y'; import { __ } from '@wordpress/i18n'; import { Component } from '@wordpress/element'; import { DOWN, ENTER, UP } from '@wordpress/keycodes'; +import { pure } from '@wordpress/compose'; /** * Internal dependencies @@ -77,6 +78,8 @@ export class Input extends Component { } } +const PureIconButton = pure( IconButton ); + export class Inputs extends Component { constructor( { hsl } ) { super( ...arguments ); @@ -277,7 +280,7 @@ export class Inputs extends Component {
{ this.renderFields() }
-