From 948eff32c22bae091900e38cf92053bf4948e26b Mon Sep 17 00:00:00 2001 From: Clayton Wilson Date: Fri, 6 Dec 2019 14:26:42 -0500 Subject: [PATCH] Fix --- twistter-frontend/src/pages/Home.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/twistter-frontend/src/pages/Home.js b/twistter-frontend/src/pages/Home.js index 0d919c2..2535505 100644 --- a/twistter-frontend/src/pages/Home.js +++ b/twistter-frontend/src/pages/Home.js @@ -71,9 +71,9 @@ class Home extends Component { }) .then((res) => { // console.log(res.data) - res.data.forEach((adminAlert) => { - allPosts.push(adminAlert); - }) + // res.data.forEach((adminAlert) => { + // allPosts.push(adminAlert); + // }) this.setState({ posts: allPosts });