2022-02-25 16:57:08 +05:00
|
|
|
import React from 'react'
|
2022-06-09 17:51:41 +05:00
|
|
|
import { createRoot } from 'react-dom/client'
|
|
|
|
|
2022-02-25 16:57:08 +05:00
|
|
|
import reportWebVitals from './reportWebVitals'
|
2022-06-09 17:51:41 +05:00
|
|
|
import App from './App'
|
2021-03-31 15:54:02 +05:00
|
|
|
|
2022-02-25 16:57:08 +05:00
|
|
|
import '@styles/index.css'
|
|
|
|
|
2022-06-09 17:51:41 +05:00
|
|
|
const container = document.getElementById('root') ?? document.body
|
|
|
|
const root = createRoot(container)
|
|
|
|
|
|
|
|
root.render(
|
|
|
|
<React.StrictMode>
|
|
|
|
<App />
|
|
|
|
</React.StrictMode>
|
|
|
|
)
|
2021-03-31 15:54:02 +05:00
|
|
|
|
|
|
|
// If you want to start measuring performance in your app, pass a function
|
|
|
|
// to log results (for example: reportWebVitals(console.log))
|
|
|
|
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
2022-02-25 16:57:08 +05:00
|
|
|
reportWebVitals()
|