React Reducer – Add elements to existing element

Advertisements i want that new updates get continuous added to "kanbanboard" but instead the old value get signed over. enter image description here ACTION-Function export const editExpense = (id, updates) => ({ type: "EDIT_EXPENSE", id, updates }); REDUCER-FUNCTION case "EDIT_EXPENSE": return state.map((expense) => { if (expense.id === action.id) { return { …expense, kanbanboard:[{…action.updates}] }; }… Read More React Reducer – Add elements to existing element