i want to display points but i have mapping error.
this.state = {
emps:[],
}
{this.state.emps.map(emp=>
{emp.points}
)}
i want to display points but i have mapping error.
this.state = {
emps:[],
}
{this.state.emps.map(emp=>
{emp.points}
)}
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sachin SinghRank #66 · 26.2K reputationPosted Aug 20, 2021, 4:06 AM EDT
Ganesan CRank #369 · 6.8K reputationPosted Aug 20, 2021, 5:03 AM EDT