aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/main.tsx
blob: 34a72b2ff34d60a86d7598e616d3c32e70e5d67b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { Provider } from "urql";
import "./index.css";
import App from "./App.tsx";
import { client } from "./services/graphql-client";

// biome-ignore lint/style/noNonNullAssertion: root element is guaranteed to exist
createRoot(document.getElementById("root")!).render(
	<StrictMode>
		<Provider value={client}>
			<App />
		</Provider>
	</StrictMode>,
);