import { StrictMode } from "react"
import { createRoot } from "react-dom/client"
import { App } from "./App"
import "highlight.js/styles/github-dark.css"
import "./styles.css"

const root = document.getElementById("root")
if (!root) throw new Error("root element not found")

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