feat: update playerId handling and improve room rendering logic
All checks were successful
Build and Push Docker Image / docker (push) Successful in 9s

This commit is contained in:
2025-09-05 11:51:38 +02:00
parent 12113ec1ce
commit 24c8c41f1e
7 changed files with 362 additions and 329 deletions

View File

@@ -1,5 +1,11 @@
export const state = {
playerId: null,
playerId: (() => {
try {
return localStorage.getItem('playerId') || null;
} catch {
return null;
}
})(),
room: null,
lastTrack: null,
revealed: false,