import "./styles.css"; import { StrictMode } from "react"; import { hydrateRoot } from "react-dom/client"; import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; import { Index } from "./routes/index"; const queryClient = new QueryClient(); const container = document.getElementById("root"); if (!container) throw new Error("#root element not found"); hydrateRoot( container, , );