diff --git a/packages/mui/src/reducers/ContentReducer.ts b/packages/mui/src/reducers/ContentReducer.ts index 55fa08b..db36bd8 100644 --- a/packages/mui/src/reducers/ContentReducer.ts +++ b/packages/mui/src/reducers/ContentReducer.ts @@ -57,7 +57,6 @@ export const ContentReducer = (state = initialState, action: PayloadAction) => { ); return state; } - console.log(`MICAH updating current scene ${action.type}`); return { ...state, currentScene: state.scenes[tableSceneIdx] }; } case "content/zoom": @@ -74,7 +73,6 @@ export const ContentReducer = (state = initialState, action: PayloadAction) => { case "content/scenes": { const scenes: Scene[] = action.payload as unknown as Scene[]; if (!state.currentScene) { - console.log(`MICAH updating current scene ${action.type}`); return { ...state, scenes: scenes, currentScene: scenes[0] }; } return { ...state, scenes: scenes }; @@ -90,9 +88,6 @@ export const ContentReducer = (state = initialState, action: PayloadAction) => { // the current scene is updated we do need to rerender. if (scene._id !== state.currentScene?._id) return { ...state, scenes: state.scenes }; - // console.log(`MICAH updating current scene ${action.type}`); - // console.log(`MICAH old scene is ${JSON.stringify(state.currentScene)}`); - // console.log(`MICAH new scene is ${JSON.stringify(scene)}`); return { ...state, currentScene: scene, scenes: state.scenes }; } case "content/deletescene": { diff --git a/packages/mui/src/utils/contentworker.ts b/packages/mui/src/utils/contentworker.ts index 71d17b6..3612a97 100644 --- a/packages/mui/src/utils/contentworker.ts +++ b/packages/mui/src/utils/contentworker.ts @@ -187,9 +187,6 @@ function loadAllImages(update: TableUpdate) { const progress = (p: LoadProgress) => postMessage({ cmd: "progress", evt: p }); - // load the default token image - no point blocking on this - it should load before we need it - // loadImage("/x.webp", bearer).then((img) => (_default_token = img)); - // gross - if we have a background image, only load it if the revision changed... // so here if we see no change we don't bother pulling the new image const bgsame =