CookieConfig not being used on client
Pikachews opened this issue ยท 3 comments
I noticed that my cookieConfig settings weren't taking effect on the client, whether it was changing the persist key or the cookie expiration.
The root cause seems to be that the cookieConfigs are only being used on the server.
next-redux-cookie-wrapper/src/index.tsx
Lines 126 to 132 in e2616e3
Whereas on the client, no cookieConfig is being used:
next-redux-cookie-wrapper/src/index.tsx
Line 164 in e2616e3
next-redux-cookie-wrapper/src/index.tsx
Line 71 in e2616e3
๐ This issue has been resolved in version 1.1.2 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐
Wow, the bot was faster than me ๐ Anyway, thanks for pointing this out!
Thanks for the quick fix!