Skip to content

fix the useSpectatorSocket - #838

Merged
chinweobtagaz merged 1 commit into
OpenKnight-Foundation:mainfrom
Qoder-Undefined:Hardcorded
Aug 26, 2026
Merged

fix the useSpectatorSocket#838
chinweobtagaz merged 1 commit into
OpenKnight-Foundation:mainfrom
Qoder-Undefined:Hardcorded

Conversation

@Qoder-Undefined

Copy link
Copy Markdown
Contributor

closes #798
FE-03: playerColor Hardcoded to White
Context: playerColor is initialized to "white" and never updated, making the board unplayable for users assigned Black by the server.
Location: frontend/app/play/[slug]/page.tsx (Line 49)
Acceptance Criteria:

Hydrate playerColor dynamically from the match data or socket initialization.
closes #797

@chinweobtagaz
chinweobtagaz merged commit 93cd091 into OpenKnight-Foundation:main Aug 26, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FE-03: playerColor Hardcoded to White FE-02: useSpectatorSocket Infinite Reconnect Loop

2 participants