remnantchat/src/index.tsx

19 lines
544 B
TypeScript
Raw Normal View History

2022-08-09 01:04:04 +00:00
import React from 'react'
import ReactDOM from 'react-dom/client'
2022-08-09 02:19:52 +00:00
import './index.sass'
2022-08-09 01:04:04 +00:00
import App from './App'
import reportWebVitals from './reportWebVitals'
2022-08-09 02:04:37 +00:00
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
2022-08-09 01:04:04 +00: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-08-09 02:04:37 +00:00
reportWebVitals()