diff --git a/src/store/index.js b/src/store/index.js index e0bb617..f1ea3b9 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -8,10 +8,12 @@ import * as actions from './actions'; /** * WordPress dependencies */ -import { registerStore } from '@wordpress/data'; +import { createReduxStore, register } from '@wordpress/data'; -registerStore('mind/popup', { +const store = createReduxStore('mind/popup', { reducer, selectors, actions, }); + +register(store);