0

How to. I want a name that is in an array.I tried to do it like this. addedItems.data.name But it didn't work

this is array addedItems

onFinish = async(values) => {
    console.log(values)
    const { addedItems, total } = this.state;
    console.log(addedItems.data.name);
}

Values that are in addedItems

enter image description here

Ian Kemp
  • 28,293
  • 19
  • 112
  • 138

0 Answers0