Getting TypeError: Cannot destructure property 'store' of 'useReduxContext(...)' as it is null. error after migrating to latest version of this package. I have changed this due to the warning in the console /!\ You are using legacy implementaion. Please update your code: use createWrapper() and wrapper.useWrappedStore().
Getting
TypeError: Cannot destructure property 'store' of 'useReduxContext(...)' as it is null.
error after migrating to latest version of this package. I have changed this due to the warning in the console/!\ You are using legacy implementaion. Please update your code: use createWrapper() and wrapper.useWrappedStore().
Versions used - next-redux-wrapper:8.0.0 Nextjs : 13.0.2 React: 18.2.0 react-redux: 8.0.5