2024-DEV-BUT3/src/main.jsx

20 lines
500 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";
setupAxios();
ReactDOM.createRoot(document.getElementById("root")).render(
<React.StrictMode>
<BrowserRouter>
<CookiesProvider>
<App />
</CookiesProvider>
</BrowserRouter>
</React.StrictMode>,
);