diff --git a/twistter-frontend/src/pages/Home.js b/twistter-frontend/src/pages/Home.js
index d635587..4032ed0 100644
--- a/twistter-frontend/src/pages/Home.js
+++ b/twistter-frontend/src/pages/Home.js
@@ -142,67 +142,63 @@ class Home extends Component {
console.log(hiddenBool);
let postMarkup = this.state.posts ? (
// <<<<<<< admin-delete
- this.state.posts.map(post => post.hidden ? null :
- this.state.following ?
- this.state.following.includes(post.userHandle) ? (
- ) :
- (
)
- } */}
- {
- post.profileImage ? (
) :
- (
)
- }
-
-
-
-
- {!hiddenBool &&
-
- }
-
-
+ this.state.posts.map(post => !post.hidden && this.state.following && this.state.following.includes(post.userHandle) ? (
+
) :
+ (
)
+ } */}
+ {
+ post.profileImage ? (
) :
+ (
)
+ }
+
+
+
+
+ {!hiddenBool &&
+
+ }
+
+
- {/* */}
+ {/* */}
-
Loading post...
);