This commit is contained in:
Clayton Wilson 2019-12-06 14:26:42 -05:00
parent 6de219505a
commit 948eff32c2

View File

@ -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
});