Stable, no warning on console

This commit is contained in:
Luis Fernando Molina committed 2018-09-04 15:44:58 +02:00
1 parent eab34e4da2
commit 67acdbda9c
6 files changed
+51 -25

No files matched your search

-1
View File
@@ -10,7 +10,6 @@ class Search extends Component {
componentDidMount(){
axios.get('https://jsonplaceholder.typicode.com/posts/')
.then(res => {
console.log(res);
this.setState({
posts: res.data.slice(0,10)
});