diff options
Diffstat (limited to 'frontend/src/main.tsx')
| -rw-r--r-- | frontend/src/main.tsx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx index 34a72b2..d8ac70e 100644 --- a/frontend/src/main.tsx +++ b/frontend/src/main.tsx @@ -3,13 +3,16 @@ import { createRoot } from "react-dom/client"; import { Provider } from "urql"; import "./index.css"; import App from "./App.tsx"; +import { AuthProvider } from "./contexts/AuthContext"; 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> + <AuthProvider> + <Provider value={client}> + <App /> + </Provider> + </AuthProvider> </StrictMode>, ); |
