Filtered timeline posts to only followers

This commit is contained in:
Aaron Sun
2019-11-17 22:36:52 -05:00
parent 6184a22607
commit 1a2f269466
3 changed files with 51 additions and 9 deletions

View File

@@ -21,7 +21,7 @@ class Home extends Component {
componentDidMount() {
axios
.get("/getallPosts")
.get("/getFollowedPosts")
.then(res => {
console.log(res.data);
this.setState({