diff options
| author | dave <starpumadev@gmail.com> | 2019-03-14 14:24:23 -0400 |
|---|---|---|
| committer | dave <starpumadev@gmail.com> | 2019-03-14 14:24:23 -0400 |
| commit | 97a3f9c0f51f40c1cfd48195f6198ae761975a33 (patch) | |
| tree | 50616334f3992d659e8e7f0337d3fa321a95495c /src/main.js | |
| parent | 52326e65515317be4815aaef320965313f84d64b (diff) | |
| parent | 9fd44e4a520289b316c653f1cea2f4d1b6607b55 (diff) | |
Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into issue-436-mastoapi-notifications
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 */ |
