How can i use .map() only when there is an array?

后端 未结 0 1614

I am new to react and I am passing an item prop. Some of the items has an empty array in items.modifiers. When i use an if an if condition i still get an error that "Ca

相关标签:
回答
  • 消灭零回复
提交回复
热议问题