17 lines
449 B
TypeScript
17 lines
449 B
TypeScript
import { createRoot } from "react-dom/client";
|
|
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
|
|
|
import App from "./App";
|
|
import { NavigationProvider } from "./hooks/useNavigation";
|
|
|
|
const queryClient = new QueryClient();
|
|
|
|
const root = createRoot(document.getElementById("app"));
|
|
|
|
root.render(
|
|
<NavigationProvider>
|
|
<QueryClientProvider client={queryClient}>
|
|
<App />
|
|
</QueryClientProvider>
|
|
</NavigationProvider>,
|
|
);
|