Server IP : 172.67.158.161 / Your IP : 18.227.183.131 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/home/giankuin/sieuthiweb.com.vn/wp-content/plugins/woocommerce/packages/woocommerce-blocks/assets/js/data/cart/ |
Upload File : |
/** * External dependencies */ import { registerStore } from '@wordpress/data'; import { controls as dataControls } from '@wordpress/data-controls'; /** * Internal dependencies */ import { STORE_KEY } from './constants'; import * as selectors from './selectors'; import * as actions from './actions'; import * as resolvers from './resolvers'; import reducer from './reducers'; import { controls } from '../shared-controls'; registerStore( STORE_KEY, { reducer, actions, controls: { ...dataControls, ...controls }, selectors, resolvers, } ); export const CART_STORE_KEY = STORE_KEY;