Skip to content
Snippets Groups Projects
Commit 0bb1ec30 authored by lain's avatar lain
Browse files

Temporarily remove persistence.

parent eab4b769
No related branches found
No related tags found
No related merge requests found
......@@ -17,8 +17,6 @@ import configModule from './modules/config.js'
import VueTimeago from 'vue-timeago'
import createPersistedState from './lib/persisted_state.js'
Vue.use(Vuex)
Vue.use(VueRouter)
Vue.use(VueTimeago, {
......@@ -28,15 +26,6 @@ Vue.use(VueTimeago, {
}
})
const persistedStateOptions = {
paths: [
'config.hideAttachments',
'config.hideNsfw',
'statuses.notifications',
'users.users'
]
}
const store = new Vuex.Store({
modules: {
statuses: statusesModule,
......@@ -44,7 +33,6 @@ const store = new Vuex.Store({
api: apiModule,
config: configModule
},
plugins: [createPersistedState(persistedStateOptions)],
strict: process.env.NODE_ENV !== 'production'
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment