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) => { .then((res) => {
// console.log(res.data) // console.log(res.data)
res.data.forEach((adminAlert) => { // res.data.forEach((adminAlert) => {
allPosts.push(adminAlert); // allPosts.push(adminAlert);
}) // })
this.setState({ this.setState({
posts: allPosts posts: allPosts
}); });