mirror of
https://github.com/WenPai-org/wpmind.git
synced 2025-08-03 02:48:41 +08:00
changed settings API and page to React + rest changed structure of scripts - different folders for editor and admin scripts
19 lines
348 B
JavaScript
19 lines
348 B
JavaScript
/**
|
|
* Internal dependencies
|
|
*/
|
|
import reducer from './reducer';
|
|
import * as actions from './actions';
|
|
import * as selectors from './selectors';
|
|
|
|
/**
|
|
* WordPress dependencies
|
|
*/
|
|
import { createReduxStore, register } from '@wordpress/data';
|
|
|
|
const store = createReduxStore('mind/settings', {
|
|
reducer,
|
|
actions,
|
|
selectors,
|
|
});
|
|
|
|
register(store);
|