[Glitch] Fix missing await

Port fc3d248df7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Yamagishi Kazutoshi 2022-10-04 06:08:38 +09:00 committed by Claire
parent cc93cd5d6c
commit f4fe985a03

View file

@ -2,7 +2,7 @@ import 'packs/public-path';
import loadPolyfills from 'flavours/glitch/util/load_polyfills'; import loadPolyfills from 'flavours/glitch/util/load_polyfills';
loadPolyfills().then(async () => { loadPolyfills().then(async () => {
const { default: main } = import('flavours/glitch/util/main'); const { default: main } = await import('flavours/glitch/util/main');
return main(); return main();
}).catch(e => { }).catch(e => {