feat: restructure client-side code
This commit is contained in:
8
public/js/state.js
Normal file
8
public/js/state.js
Normal file
@@ -0,0 +1,8 @@
|
||||
export const state = {
|
||||
playerId: null,
|
||||
room: null,
|
||||
lastTrack: null,
|
||||
revealed: false,
|
||||
pendingReady: null,
|
||||
isBuffering: false,
|
||||
};
|
||||
Reference in New Issue
Block a user