wrapper.useWrappedStore throwing error
ATakaSKY opened this issue · comments
Aakash Thakur commented
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
Vitor Costa commented
Did you find any solution for this?
Robin Goudeketting commented
Still seeing this, any updates?