import './index.css';
import { createRoot } from "react-dom/client";
import { AppRouter } from "./AppRouter";

const container = document.getElementById("root");
if (!container) {
  throw new Error("Failed to find the root element");
}

const root = createRoot(container);
root.render(<AppRouter />);