From e4dfa5e52f911a6dbb5df41932a70dd9af3c9753 Mon Sep 17 00:00:00 2001
From: Dessalines <tyhou13@gmx.com>
Date: Mon, 3 Feb 2020 19:52:39 -0500
Subject: Combine duplicate front page posts. Fixes #284

---
 ui/src/components/main.tsx | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'ui/src/components/main.tsx')

diff --git a/ui/src/components/main.tsx b/ui/src/components/main.tsx
index ed31fff4..6d3e1815 100644
--- a/ui/src/components/main.tsx
+++ b/ui/src/components/main.tsx
@@ -392,7 +392,11 @@ export class Main extends Component<any, MainState> {
         ) : (
           <div>
             {this.selects()}
-            <PostListings posts={this.state.posts} showCommunity />
+            <PostListings
+              posts={this.state.posts}
+              showCommunity
+              removeDuplicates
+            />
             {this.paginator()}
           </div>
         )}
-- 
cgit v1.2.3

