1if (this.props.dataresults.length > 0) {
2 return this.props.dataresults.map(function(user, i){
3 console.log('user');
4 console.log(user.description);
5 return <li key={i}>{user.description}</li>;
6 })
7 } else {
8 return (<h1>No Results </h1>)
9 }