| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 1x 1x 2x 2x 1x 1x | import {
CREATE_SCENE,
} from '../action/scene';
const initialState = {
};
export function scene(state = initialState, action) {
const {type, title, resolution} = action;
switch (type) {
case CREATE_SCENE:
return Object.assign({}, state, {title, resolution});
default:
return state;
}
} |