JavaScript
- 2 ответа
- 0 вопросов
1
Вклад в тег
case 'CHOOSE': {
return Object.assign(state, { choosed: action.choosed }
});
}
case 'CHOOSE': {
return state = {...state, choosed: action.choosed }
}