glitchier-soc/app/javascript/flavours/glitch/packs/home.js
Yamagishi Kazutoshi e047eabd87 [Glitch] Fix missing await
Port 782154a762 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09 18:23:15 +02:00

10 lines
258 B
JavaScript

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