fix(main): use async IIFE instead of top-level await

This commit is contained in:
2026-06-19 14:55:51 +02:00
parent 5740b354f9
commit 8a0d4ac949
+2 -4
View File
@@ -23,13 +23,11 @@ import router from './router'
import './styles/common.css'
import './styles/variables/colors.css'
async function bootstrap() {
(async () => {
await loadLanguage(getCurrentLanguage())
createApp(App)
.use(router)
.use(i18n)
.mount('#app')
}
bootstrap()
})()