2024-DEV-BUT3/src/main.jsx

23 lines
568 B
React
Raw Normal View History

2024-03-27 10:51:41 +01:00
import React from "react";
import ReactDOM from "react-dom/client";
import App from "./app.jsx";
import "./assets/styles/index.css";
import { BrowserRouter } from "react-router-dom";
import { CookiesProvider } from "react-cookie";
import setupAxios from "./setupAxios";
2024-03-27 14:26:57 +01:00
import { Layout } from "antd";
2024-03-27 10:51:41 +01:00
setupAxios();
ReactDOM.createRoot(document.getElementById("root")).render(
<React.StrictMode>
<BrowserRouter>
<CookiesProvider>
2024-03-27 14:26:57 +01:00
<Layout>
<App />
</Layout>
2024-03-27 10:51:41 +01:00
</CookiesProvider>
</BrowserRouter>
</React.StrictMode>,
);