diff --git a/src/main.js b/src/main.js index aba2bf3..e29e5b1 100644 --- a/src/main.js +++ b/src/main.js @@ -23,13 +23,11 @@ import router from './router' import './styles/common.css' import './styles/variables/colors.css' -async function bootstrap() { - await loadLanguage(getCurrentLanguage()) +(async () => { + await loadLanguage(getCurrentLanguage()) - createApp(App) - .use(router) - .use(i18n) - .mount('#app') -} - -bootstrap() \ No newline at end of file + createApp(App) + .use(router) + .use(i18n) + .mount('#app') +})() \ No newline at end of file