mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-19 05:13:01 +00:00
[Glitch] Fix missing await
Port fc3d248df7
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
cc93cd5d6c
commit
f4fe985a03
|
@ -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 => {
|
||||||
|
|
Loading…
Reference in a new issue