mirror of
https://github.com/ClaytonWWilson/CS307-Team24.git
synced 2026-03-10 13:15:05 +00:00
Fix
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user