GoTeamEpsilon / angular-to-react-redux

Angular to React/Redux, a Guide for Angular v1 Experts Looking to Learn React/Redux
MIT License
107 stars 12 forks source link

Oops, the action payloads can be simplified because patientInContext is already accessible #95

Closed MatthewVita closed 7 years ago

MatthewVita commented 7 years ago

...for instance copy[action.payload[0]].contacts[contactIndexForUpdation] = action.payload[1] can be copy[copy.patientIdInContext].contacts[contactIndexForUpdation] = action.payload