I want to write a Reducer to update (add an object to the mockData array), how can I implement this?? Please help.
const initialState = { data:[ {