This commit is contained in:
Thomas Roberts 2023-01-09 23:01:49 +00:00 committed by GitHub
parent b1d5976163
commit 88b19bceb4
3 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,7 @@ const registeredStore = registerStore< State >( STORE_KEY, {
controls: dataControls,
selectors,
resolvers,
__experimentalUseThunks: true,
} );
registeredStore.subscribe( pushChanges );

View File

@ -16,6 +16,7 @@ export const config = {
reducer,
selectors,
actions,
__experimentalUseThunks: true,
};
const store = createReduxStore( STORE_KEY, config );

View File

@ -20,6 +20,7 @@ export const config = {
actions,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
controls: { ...dataControls, ...sharedControls } as any,
__experimentalUseThunks: true,
};
const store = createReduxStore( STORE_KEY, config );