improved structure

added store to control the popup
changed popup colors
This commit is contained in:
Nikita 2023-06-02 22:31:31 +03:00
parent 1fc59be401
commit 26081c84ec
20 changed files with 454 additions and 12970 deletions

17
src/store/index.js Normal file
View file

@ -0,0 +1,17 @@
/**
* Internal dependencies
*/
import reducer from './reducer';
import * as selectors from './selectors';
import * as actions from './actions';
/**
* WordPress dependencies
*/
import { registerStore } from '@wordpress/data';
registerStore('mind/popup', {
reducer,
selectors,
actions,
});