From e0cc2915f22fe74d5be9e8f51d6b73437192e0ba Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Thu, 6 Nov 2025 04:10:55 +0900
Subject: feat: Support multi-user

---
 frontend/src/main.tsx | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

(limited to 'frontend/src/main.tsx')

diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx
index 34a72b2..b96c76e 100644
--- a/frontend/src/main.tsx
+++ b/frontend/src/main.tsx
@@ -1,15 +1,18 @@
 import { StrictMode } from "react";
 import { createRoot } from "react-dom/client";
-import { Provider } from "urql";
+import { Provider as UrqlProvider } 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>
+		<UrqlProvider value={client}>
+			<AuthProvider>
+				<App />
+			</AuthProvider>
+		</UrqlProvider>
 	</StrictMode>,
 );
-- 
cgit v1.2.3-70-g09d2

