Stable, no warning on console
This commit is contained in:
1 parent
eab34e4da2
commit
67acdbda9c
6 files changed
+51
-25
No files matched your search
@@ -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)
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user