You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I had some issues using this middleware, so I'd like to kindly ask you to check this problem.
What I wanted to do is to save the language code (like "en" or "ko") in redux state, and load it from cookie values using your middleware.
Loading the cookie value works just fine, but when I try to change the state, the unnecessary "%22" (which stands for ") characters are added to the cookie value.
As I am using 'i18next-browser-languagedetector' which directly reads the cookie and loads the value, It is hard for me to force-remove the quotes.
I found that the issue comes from the store function in "reduxCookiesMiddleware"
Hello, I had some issues using this middleware, so I'd like to kindly ask you to check this problem.
What I wanted to do is to save the language code (like "en" or "ko") in redux state, and load it from cookie values using your middleware.
Loading the cookie value works just fine, but when I try to change the state, the unnecessary "%22" (which stands for ") characters are added to the cookie value.
As I am using 'i18next-browser-languagedetector' which directly reads the cookie and loads the value, It is hard for me to force-remove the quotes.
I found that the issue comes from the store function in "reduxCookiesMiddleware"
When I added the type check like this:
the issue was solved.
Therefore I'd like to ask you if you can add the type checking logic like this.
If there is anything unclear, please let me know. Thank you.
The text was updated successfully, but these errors were encountered: