fix(frontend)?: importAppScriptはimportをawaitするように

This commit is contained in:
tamaina 2024-03-06 08:08:32 +00:00
parent 08d618bb8b
commit 4457b02db2
1 changed files with 2 additions and 2 deletions

View File

@ -86,8 +86,8 @@
//#endregion //#endregion
//#region Script //#region Script
function importAppScript() { async function importAppScript() {
import(`/vite/${CLIENT_ENTRY}`) await import(`/vite/${CLIENT_ENTRY}`)
.catch(async e => { .catch(async e => {
console.error(e); console.error(e);
renderError('APP_IMPORT', e); renderError('APP_IMPORT', e);