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
// store.js
import Vue from 'vue';
import Vuex from 'vuex';
import VuexWebExtensions from 'vuex-webextensions';
import * as getters from './getters';
import mutations from './mutations';
import * as actions from './actions';
Vue.use(Vuex);
export default new Vuex.Store({
plugins: [
VuexWebExtensions({
persistentStates: ['jwt', 'pinataKeys'],
loggerLevel: 'verbose',
}),
],
state: {
jwt: 'initial',
jwtValid: false,
pinataKeys: null,
},
getters,
mutations,
actions,
});
```as you can see in the screenshot from the console.logs, the mutation ('setJwt') is successful, but as soon as i click elsewhere and reclick the extension icon, it gets reset and goes back to the store staring value.
The text was updated successfully, but these errors were encountered:
Project is at https://github.com/IPFC/ipfc-extension
The text was updated successfully, but these errors were encountered: