- Move i18n initialization to async function - Sync i18n with settings store language - Add Root component for i18n loading state - Convert i18n.js to TypeScript
6 lines
171 B
TypeScript
6 lines
171 B
TypeScript
import { createRoot } from 'react-dom/client'
|
|
import './index.css'
|
|
import { Root } from '@/components/Root'
|
|
|
|
createRoot(document.getElementById('root')!).render(<Root />)
|