i want to display points but i have mapping error.
this.state = {
emps:[],
}
{this.state.emps.map(emp=>
<div id="foo">
<span class="centered">{emp.points}</span>
</div>
)}