mirror of
https://github.com/ClaytonWWilson/CS307-Team24.git
synced 2025-12-15 18:08:46 +00:00
Fix
This commit is contained in:
parent
6de219505a
commit
948eff32c2
@ -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
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user