2024-10-13 11:41:36 -04:00
|
|
|
import { StrictMode } from "react";
|
|
|
|
import { createRoot } from "react-dom/client";
|
2024-10-18 07:18:29 -04:00
|
|
|
import "./css/index.css";
|
2024-10-13 11:41:36 -04:00
|
|
|
import { createBrowserRouter, RouterProvider } from "react-router-dom";
|
|
|
|
import routes from "./routes";
|
2024-10-11 16:38:38 -04:00
|
|
|
|
2024-10-13 11:41:36 -04:00
|
|
|
const router = createBrowserRouter(routes);
|
|
|
|
|
|
|
|
createRoot(document.getElementById("root")).render(
|
2024-10-11 16:38:38 -04:00
|
|
|
<StrictMode>
|
2024-10-13 11:41:36 -04:00
|
|
|
<RouterProvider router={router} />
|
2024-10-11 16:38:38 -04:00
|
|
|
</StrictMode>,
|
2024-10-13 11:41:36 -04:00
|
|
|
);
|