mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
fix(frontend)?: importAppScriptはimportをawaitするように
This commit is contained in:
parent
08d618bb8b
commit
4457b02db2
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user