2025-08-13 14:23:48 +01:00
|
|
|
import { StrictMode } from "react";
|
|
|
|
|
import { createRoot } from "react-dom/client";
|
|
|
|
|
import "./index.css";
|
|
|
|
|
import { BrowserRouter } from "react-router";
|
|
|
|
|
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
2025-08-15 09:32:33 +01:00
|
|
|
import Modal from "react-modal";
|
2025-08-13 14:23:48 +01:00
|
|
|
import App from "./App.tsx";
|
|
|
|
|
|
|
|
|
|
const queryClient = new QueryClient();
|
|
|
|
|
|
2025-08-15 09:32:33 +01:00
|
|
|
Modal.setAppElement("#root");
|
|
|
|
|
|
2025-08-13 14:23:48 +01:00
|
|
|
createRoot(document.getElementById("root")!).render(
|
|
|
|
|
<StrictMode>
|
|
|
|
|
<QueryClientProvider client={queryClient}>
|
2025-09-26 11:42:12 +01:00
|
|
|
<BrowserRouter basename="/Mobile">
|
2025-08-13 14:23:48 +01:00
|
|
|
<App />
|
|
|
|
|
</BrowserRouter>
|
|
|
|
|
</QueryClientProvider>
|
|
|
|
|
</StrictMode>
|
|
|
|
|
);
|