12 lines
359 B
TypeScript
12 lines
359 B
TypeScript
|
import React from "react";
|
||
|
import ReactDOM from "react-dom/client";
|
||
|
import App from "./App.tsx";
|
||
|
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
||
|
|
||
|
const queryClient = new QueryClient();
|
||
|
ReactDOM.createRoot(document.getElementById("root")!).render(
|
||
|
<QueryClientProvider client={queryClient}>
|
||
|
<App />
|
||
|
</QueryClientProvider>,
|
||
|
);
|