2024-DEV-BUT3/src/main.jsx

23 lines
536 B
JavaScript

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";
import { Layout } from "antd";
setupAxios();
ReactDOM.createRoot(document.getElementById("root")).render(
//<React.StrictMode>
<BrowserRouter>
<CookiesProvider>
<App/>
</CookiesProvider>
</BrowserRouter>
//</React.StrictMode>,
);