aboutsummaryrefslogtreecommitdiff
path: root/src/main.js
diff options
context:
space:
mode:
authordave <starpumadev@gmail.com>2019-03-25 10:22:16 -0400
committerdave <starpumadev@gmail.com>2019-03-25 10:22:16 -0400
commit4cec0d589dfc54987ec6f024b0a463d0abd847d2 (patch)
treea88953cc409d162127edb43a702d6540c64c023e /src/main.js
parent63d7c7bd80cf8028cdefee99c1cb75614385f96b (diff)
parent01d05316998f90451e920f8ac8d4c264a13b0cd7 (diff)
Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into issue-433-status-reply-form
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 */