2024-DEV-BUT3/src/main.jsx

21 lines
520 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 11:36:49 +01:00
import "bootstrap";
2024-03-27 10:51:41 +01:00
setupAxios();
ReactDOM.createRoot(document.getElementById("root")).render(
<React.StrictMode>
<BrowserRouter>
<CookiesProvider>
<App />
</CookiesProvider>
</BrowserRouter>
</React.StrictMode>,
);