Fix Shortcuts help menu doesn't dismiss forever.

This commit is contained in:
Michael Macherey
2017-10-12 20:30:23 +02:00
parent 77d30bdbc1
commit 8e466befb4
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -23,6 +23,7 @@ function init({store, storage}) {
async function main() {
const notification = createNotificationService(toast);
const context = await createContext({reducers, graphqlExtension, pluginsConfig, notification, init});
render(
<TalkProvider {...context}>
<App />
+4
View File
@@ -178,6 +178,10 @@ export async function createContext({
await preInit(context);
}
if (init) {
await init(context);
}
// Run initialization.
await Promise.all([init, plugins.executeInit(context)]);
return context;