What you did:
After I logged in I went to check if the token is well stored in the local storage.
What happened:
The token is stored, then he gets erased, whatever I put in the field get erased after x time.
As you can see no log in the console even if I add one in every call of the store's function.
Problem description:
The local storage gets "set" again randomly, this doesn't appear on firefox or chrome on the production version and I don't know at all from what this comes. I check the log of the console no commit is made, I checked twice that the store state is not used without getters or commit.
And I put in comment all "setTimeoutInterval" of my code (it was only one anyway).
vuex-persistedstate
version: ^3.0.1node
version: v12.16.npm
(oryarn
) version: 6.14.8Relevant code or config
What you did: After I logged in I went to check if the token is well stored in the local storage.
What happened:
The token is stored, then he gets erased, whatever I put in the field get erased after x time.
As you can see no log in the console even if I add one in every call of the store's function.
Problem description: The local storage gets "set" again randomly, this doesn't appear on firefox or chrome on the production version and I don't know at all from what this comes. I check the log of the console no commit is made, I checked twice that the store state is not used without getters or commit.
And I put in comment all "setTimeoutInterval" of my code (it was only one anyway).
How can I solve this magic?