16 lines
373 B
TypeScript
16 lines
373 B
TypeScript
import { createRoot } from 'react-dom/client'
|
|
import { Router } from 'wouter'
|
|
import { useHashLocation } from 'wouter/use-hash-location'
|
|
|
|
import './i18n/config'
|
|
import './i18n/types'
|
|
import { default as PagesRouter } from './router'
|
|
|
|
import './index.css'
|
|
|
|
createRoot(document.getElementById('root')!).render(
|
|
<Router hook={useHashLocation}>
|
|
<PagesRouter />
|
|
</Router>
|
|
)
|