diff --git a/twistter-frontend/src/pages/Home.js b/twistter-frontend/src/pages/Home.js index 4032ed0..85043e7 100644 --- a/twistter-frontend/src/pages/Home.js +++ b/twistter-frontend/src/pages/Home.js @@ -140,8 +140,7 @@ class Home extends Component { } console.log(hiddenBool); - let postMarkup = this.state.posts ? ( -// <<<<<<< admin-delete + let postMarkup = this.state.posts ? ( this.state.following === undefined || this.state.following === null ? You aren't following anybody right now : this.state.posts.map(post => !post.hidden && this.state.following && this.state.following.includes(post.userHandle) ? ( @@ -199,18 +198,6 @@ class Home extends Component {

) ) -// ======= -// this.state.posts.map(post => -// this.state.following ? ( -// this.state.following.includes(post.userHandle) ? ( -// ) : ( -//

-// ) -// ) : ( -//

-// ) -// >>>>>>> master - ) : (

Loading post...

);