Open History to see the last commit
1import React from 'react'
2import ReactDOM from 'react-dom/client'
3import App from './App'
4import { worker } from './api'
5β
6worker.start()
7β
8const rootElement = document.getElementById('root')
9if (!rootElement) throw new Error('Missing #root element')
10ReactDOM.createRoot(rootElement).render(
11 <div style={{ padding: '16px' }}>
12 <App />
13 </div>,
14)