import { KEYBINDING_UPDATE, KEYBINDING_DEFAULT_RESET } from 'core/actions/types';
import { defaultCommands } from './defaults';

export default function keyboardConfigReducer(
  state = defaultCommands,
  action,
) {
  const { type } = action;
  switch (type) {
    case KEYBINDING_UPDATE: {
      const { key, value } = action.payload;
      console.log('BG REDUCER DE BUG TRACE', action.payload);
      return Object.assign(
        {},
        state,
        { [key]: Object.assign({}, state[key], { command: value }) },
      );
    }
    case KEYBINDING_DEFAULT_RESET:
      return defaultCommands;
    default:
      return state;
  }
}

@@ -334,70 +334,8 @@
 ad;%0A
-      console.log('BG REDUCER DE BUG TRACE', action.payload);%0A
     

Remove console.log