diff --git a/packages/components/src/custom-select/index.js b/packages/components/src/custom-select/index.js index d078b8ac04268b..1fd9ea5862d915 100644 --- a/packages/components/src/custom-select/index.js +++ b/packages/components/src/custom-select/index.js @@ -18,6 +18,18 @@ const stateReducer = ( { selectedItem }, { type, changes, props: { items } } ) => { + // TODO: Remove this. + // eslint-disable-next-line no-console + console.debug( + 'Selected Item: ', + selectedItem, + 'Type: ', + type, + 'Changes: ', + changes, + 'Items: ', + items + ); switch ( type ) { case useSelect.stateChangeTypes.ToggleButtonKeyDownArrowDown: // If we already have a selected item, try to select the next one, @@ -84,6 +96,7 @@ export default function CustomSelect( { label, items } ) {