mirror of
https://github.com/ClaytonWWilson/CS307-Team24.git
synced 2026-03-10 21:25:04 +00:00
Added link in index.js
This commit is contained in:
@@ -71,7 +71,7 @@ class user extends Component {
|
||||
})
|
||||
})
|
||||
.catch(err => console.log(err));
|
||||
axios.get('/posts')
|
||||
axios.get('/getAllPosts')
|
||||
.then(res => {
|
||||
this.setState({
|
||||
posts: res.data
|
||||
|
||||
Reference in New Issue
Block a user