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