everydaycats commited on
Commit
2087c2e
·
verified ·
1 Parent(s): 4f3ec57

Update stateManager.js

Browse files
Files changed (1) hide show
  1. stateManager.js +1 -1
stateManager.js CHANGED
@@ -35,7 +35,7 @@ export const StateManager = {
35
  // FLATTEN DB STRUCTURE -> MEMORY STRUCTURE
36
  const memoryObject = {
37
  ...dbData.info, // Title, stats, description
38
- thumbnail: dbData.thumbnail || null,
39
  // State might be undefined if just created, so default it
40
  commandQueue: dbData.state?.commandQueue || [],
41
  workerHistory: dbData.state?.workerHistory || [],
 
35
  // FLATTEN DB STRUCTURE -> MEMORY STRUCTURE
36
  const memoryObject = {
37
  ...dbData.info, // Title, stats, description
38
+ thumbnail: dbData.thumbnail?.url || null,
39
  // State might be undefined if just created, so default it
40
  commandQueue: dbData.state?.commandQueue || [],
41
  workerHistory: dbData.state?.workerHistory || [],