Das Objekt in Objekt durch ID js aktualisieren
//This will replace myId of the item id with the updated object
return myArray.map((item) => {
return item.id === myId
? UPDATED_OBJECT_HERE
: item;
});
UnderTaker