p tag is duplicated in the nasted portion when i write something in p tag

Viewed 18

const users=[ { fullName:"Khairul Islam", email:"khairul@gmail.com", phones:[ {home:"017033xxxxx"}, {office:"016718xxxxx"} ] }, { fullName:"Nasir Uddin", email:"nasir@gmail.com", phones:[ {home:"017033xxxxx"}, {office:"016718xxxxx"} ] } ];

export default function Nasted () { return enter code here

Nasted Mapping List

{ users.map((user,index)=>(

Full Name: {user.fullName}

Email Address: {user.email}

{ user.phones.map((phone,index)=> enter code here

Home: {phone.home}

{phone.office}

) } ))} }

0 Answers
Related