Actualizar un valor de la matriz en Redux State
return {
...state,
contents: state.contents.map(
(content, i) => i === 1 ? {...content, text: action.payload}
: content
)
}
Mystic Dev