diff --git a/client/src/actions.jsx b/client/src/actions.jsx index f6745548..e426f70b 100644 --- a/client/src/actions.jsx +++ b/client/src/actions.jsx @@ -49,7 +49,7 @@ export const setTeamSelect = value => ({ type: 'SET_TEAM_SELECT', value: Array.f export const setTutorial = value => ({ type: 'SET_TUTORIAL', value }); export const setTutorialGame = value => ({ type: 'SET_TUTORIAL_GAME', value }); -export const setVboxSelected = value => ({ type: 'SET_VBOX_SELECTED', value: Object.create(value) }); +export const setVboxSelected = value => ({ type: 'SET_VBOX_SELECTED', value: value }); export const setVboxCombiner = value => ({ type: 'SET_VBOX_COMBINER', value }); export const setVboxHighlight = value => ({ type: 'SET_VBOX_HIGHLIGHT', value }); export const setVboxInfo = value => ({ type: 'SET_VBOX_INFO', value }); diff --git a/client/src/keyboard.jsx b/client/src/keyboard.jsx index cca738f9..d9cc79ca 100644 --- a/client/src/keyboard.jsx +++ b/client/src/keyboard.jsx @@ -11,6 +11,8 @@ function setupKeys(store) { key('esc', () => store.dispatch(actions.setItemUnequip([]))); key('esc', () => store.dispatch(actions.setVboxSelected({ storeSelect: [], stashSelect: [] }))); key('esc', () => store.dispatch(actions.setVboxHighlight(null))); + key('esc', () => store.dispatch(actions.setVboxCombiner(null))); + key('esc', () => store.dispatch(actions.setVboxInfo(null))); key('esc', () => store.dispatch(actions.setMtxActive(null))); }