diff options
Diffstat (limited to 'frontend/src/main.tsx')
| -rw-r--r-- | frontend/src/main.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx index fcd9b64..34a72b2 100644 --- a/frontend/src/main.tsx +++ b/frontend/src/main.tsx @@ -1,11 +1,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> - <App /> + <Provider value={client}> + <App /> + </Provider> </StrictMode>, ); |
