mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 03:03:08 +02:00
fix(frontend)?: importAppScriptはimportをawaitするように
This commit is contained in:
parent
08d618bb8b
commit
4457b02db2
1 changed files with 2 additions and 2 deletions
|
@ -86,8 +86,8 @@
|
|||
//#endregion
|
||||
|
||||
//#region Script
|
||||
function importAppScript() {
|
||||
import(`/vite/${CLIENT_ENTRY}`)
|
||||
async function importAppScript() {
|
||||
await import(`/vite/${CLIENT_ENTRY}`)
|
||||
.catch(async e => {
|
||||
console.error(e);
|
||||
renderError('APP_IMPORT', e);
|
||||
|
|
Loading…
Reference in a new issue