import React from 'react'
import ReactDOM from 'react-dom/client'
import { ensureSuperTokensInit } from './auth/supertokens-client'
import App from './App'

async function bootstrap() {
  await ensureSuperTokensInit()

  ReactDOM.createRoot(document.getElementById('root')!).render(
    <React.StrictMode>
      <App />
    </React.StrictMode>,
  )
}

void bootstrap()
