🐘 Massive refactor for graphql changes

This commit is contained in:
2026-03-04 23:42:50 -05:00
parent 4b8d7b5905
commit 74c0d6513c
46 changed files with 10254 additions and 652 deletions

View File

@@ -47,12 +47,11 @@ export const useStore = create<StoreState>((set, get) => ({
});
socket.on("connect", () => {
console.log(`✅ Connected to ${namespace}:`, socket.id);
// Socket connected successfully
});
// Always listen for sessionInitialized in case backend creates a new session
socket.on("sessionInitialized", (id) => {
console.log("Session initialized with ID:", id);
localStorage.setItem("sessionId", id);
});