mirror of
https://github.com/Nezumi-2711/uptime-monitoring.git
synced 2026-09-22 13:48:31 +00:00
21 lines
493 B
TypeScript
21 lines
493 B
TypeScript
import { QueryClientProvider } from "@tanstack/react-query";
|
|
import { StrictMode } from "react";
|
|
import { createRoot } from "react-dom/client";
|
|
import App from "./App";
|
|
import { queryClient } from "./lib/query-client";
|
|
import "./styles.css";
|
|
|
|
const root = document.getElementById("root");
|
|
|
|
if (!root) {
|
|
throw new Error("Root element was not found");
|
|
}
|
|
|
|
createRoot(root).render(
|
|
<StrictMode>
|
|
<QueryClientProvider client={queryClient}>
|
|
<App />
|
|
</QueryClientProvider>
|
|
</StrictMode>,
|
|
);
|