Fix issue #14 and bump react to v18

This commit is contained in:
2022-10-14 13:44:19 +02:00
parent 8ee9710fe2
commit de32fbd5ce
11 changed files with 1454 additions and 624 deletions

View File

@@ -1,5 +1,10 @@
import ReactDOM from 'react-dom'
import React from 'react'
import ReactDOM from 'react-dom/client'
import { App } from './src/App'
const root = document.getElementById('root')
ReactDOM.render(<App />, root)
const root = ReactDOM.createRoot(document.getElementById('root')!)
root.render(
<React.StrictMode>
<App></App>
</React.StrictMode>
)