mirror of https://github.com/mastodon/mastodon
Fix missing await (#19273)
This commit is contained in:
parent
216dbaedaf
commit
fc3d248df7
|
@ -5,7 +5,7 @@ import { start } from '../mastodon/common';
|
|||
start();
|
||||
|
||||
loadPolyfills().then(async () => {
|
||||
const { default: main } = import('mastodon/main');
|
||||
const { default: main } = await import('mastodon/main');
|
||||
|
||||
return main();
|
||||
}).catch(e => {
|
||||
|
|
Loading…
Reference in New Issue