diff options
| author | lambda <lain@soykaf.club> | 2019-03-13 12:08:28 +0000 |
|---|---|---|
| committer | lambda <lain@soykaf.club> | 2019-03-13 12:08:28 +0000 |
| commit | 9fd44e4a520289b316c653f1cea2f4d1b6607b55 (patch) | |
| tree | 8076465bcfd26dc2444971d4a7e94b5cfd026764 /src/main.js | |
| parent | f397537642a6b8a4079d8d45d835ddd50f2d2b4a (diff) | |
| parent | 48ac96cfc7c9c3328d7a18707f00a2fe1bc743a1 (diff) | |
Merge branch 'afterstore-refactor' into 'develop'
Afterstore refactor
See merge request pleroma/pleroma-fe!679
Diffstat (limited to 'src/main.js')
| -rw-r--r-- | src/main.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.js b/src/main.js index a3265e3a..9ffc3727 100644 --- a/src/main.js +++ b/src/main.js @@ -53,9 +53,10 @@ const persistedStateOptions = { 'users.lastLoginName', 'oauth' ] -} +}; -createPersistedState(persistedStateOptions).then((persistedState) => { +(async () => { + const persistedState = await createPersistedState(persistedStateOptions) const store = new Vuex.Store({ modules: { interface: interfaceModule, @@ -75,7 +76,7 @@ createPersistedState(persistedStateOptions).then((persistedState) => { }) afterStoreSetup({ store, i18n }) -}) +})() // These are inlined by webpack's DefinePlugin /* eslint-disable */ |
