• File: index.js
  • Full Path: /home/lef/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/assets/js/data/query-state/index.js
  • File size: 386 bytes
  • MIME-type: text/plain
  • Charset: utf-8
/**
 * External dependencies
 */
import { registerStore } from '@wordpress/data';

/**
 * Internal dependencies
 */
import { STORE_KEY } from './constants';
import * as selectors from './selectors';
import * as actions from './actions';
import reducer from './reducers';

registerStore( STORE_KEY, {
	reducer,
	actions,
	selectors,
} );

export const QUERY_STATE_STORE_KEY = STORE_KEY;