blob: b6f6c58bca7f7167a0899c3ca22b8dc42614fc72 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import actions from 'content/actions';
const defaultState = {
keymaps: {},
};
export default function reducer(state = defaultState, action = {}) {
switch (action.type) {
case actions.SETTING_SET:
return Object.assign({}, action.value);
default:
return state;
}
}
|