import { createRoot } from "react-dom/client"
import Root from './src/root'

const renderTarget = document.getElementById('react_root_target')
if (!renderTarget) throw new Error('Could not find render target')

const options = {
  onUncaughtError: (err: unknown) => console.error(err)
}

createRoot(renderTarget, options)
  .render(<Root/>)

