aboutsummaryrefslogtreecommitdiff
path: root/src/main.js
diff options
context:
space:
mode:
authordave <starpumadev@gmail.com>2019-03-14 14:24:23 -0400
committerdave <starpumadev@gmail.com>2019-03-14 14:24:23 -0400
commit97a3f9c0f51f40c1cfd48195f6198ae761975a33 (patch)
tree50616334f3992d659e8e7f0337d3fa321a95495c /src/main.js
parent52326e65515317be4815aaef320965313f84d64b (diff)
parent9fd44e4a520289b316c653f1cea2f4d1b6607b55 (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.js7
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 */