Merge pull request 'final POC' (#103) from Backend_Fix into main

Reviewed-on: #103
This commit was merged in pull request #103.
This commit is contained in:
2025-11-24 22:29:53 +00:00
49 changed files with 4634 additions and 4620 deletions
@@ -17,7 +17,7 @@ const Lobby = () => {
const navigate = useNavigate()
const location = useLocation()
const [user, setUser] = useRequireAuth()
const [user, setUser] = useRequireAuth({ redirect: false })
// Get game code from location state or WebSocket
const gameCodeFromState = location.state?.gameCode
@@ -75,6 +75,7 @@ const Lobby = () => {
// Auto-navigate when game starts
useEffect(() => {
console.log("🎮 Lobby: gameStarted changed to:", gameStarted)
if (gameStarted) {
console.log("🎮 Game started, navigating to /game")
goGame()