Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

Dont show post container if no posts

Matt Robertsf061d9593f51
diff --git a/public/pages/Home/Home.page.tsx b/public/pages/Home/Home.page.tsx
index 5f2ff549b..2f1d1a827 100644
--- a/public/pages/Home/Home.page.tsx
+++ b/public/pages/Home/Home.page.tsx
@@ -106,8 +106,7 @@ What can we do better? This is the place for you to vote, discuss and share idea
</div>
</div>
<div className="p-home__posts-col p-4">
- {isLonely() && <Lonely />}
- <PostsContainer posts={props.posts} tags={props.tags} countPerStatus={props.countPerStatus} />
+ {isLonely() ? <Lonely /> : <PostsContainer posts={props.posts} tags={props.tags} countPerStatus={props.countPerStatus} />}
<PoweredByFider slot="home-footer" className="lg:hidden xl:hidden mt-8" />
</div>
</div>