Files
CHIEFSOFT\ameye e9e5c0546c first commit
2023-11-30 13:20:54 -05:00

16 lines
235 B
JavaScript

function reducer( state = { breakpoint: '' }, action ) {
switch ( action.type ) {
case 'UPDATE_BREAKPOINT':
return {
...state,
breakpoint: action.breakpoint,
};
// no default
}
return state;
}
export default reducer;