import { StrictMode } from "react"
import { createRoot } from "react-dom/client"
import App from "./App"
import "./style.css"

const rootElement = document.getElementById("root")

if (rootElement === null) {
  throw new Error("Root element #root was not found.")
}

createRoot(rootElement).render(
  <StrictMode>
    <App />
  </StrictMode>,
)
