mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-17 09:45:29 +00:00
22 lines
410 B
TypeScript
22 lines
410 B
TypeScript
import React from 'react'
|
|
import ReactDOM from 'react-dom/client'
|
|
import App from './App'
|
|
import {HashRouter} from 'react-router-dom'
|
|
|
|
import 'antd/dist/reset.css'
|
|
import './i18n'
|
|
|
|
import './index.css'
|
|
|
|
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
|
|
|
|
function Index() {
|
|
return (
|
|
<HashRouter>
|
|
<App/>
|
|
</HashRouter>
|
|
)
|
|
}
|
|
|
|
root.render(<Index/>)
|