feat: update playerId handling and improve room rendering logic
All checks were successful
Build and Push Docker Image / docker (push) Successful in 9s
All checks were successful
Build and Push Docker Image / docker (push) Successful in 9s
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user