import './app.css'
import { initI18n } from './lib/i18n'
import App from './App.svelte'
import { mount } from 'svelte'

// Initialize i18n and wait for locale to load before mounting
// ($_ throws if called before the locale is ready)
async function bootstrap() {
  await initI18n()
  mount(App, { target: document.getElementById('app')! })
}

bootstrap()
