diff --git a/packages/edit-site/src/store/controls.js b/packages/edit-site/src/store/controls.js index 3a64e045f69666..912ab065436504 100644 --- a/packages/edit-site/src/store/controls.js +++ b/packages/edit-site/src/store/controls.js @@ -3,24 +3,6 @@ */ import { createRegistryControl } from '@wordpress/data'; -/** - * Calls a selector using the current state. - * - * @param {string} storeName Store name. - * @param {string} selectorName Selector name. - * @param {Array} args Selector arguments. - * - * @return {Object} control descriptor. - */ -export function select( storeName, selectorName, ...args ) { - return { - type: 'SELECT', - storeName, - selectorName, - args, - }; -} - const controls = { SELECT: createRegistryControl( ( registry ) => ( { storeName, selectorName, args } ) => {