summaryrefslogtreecommitdiffstats
path: root/ui/src/components/main.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-02-03 19:52:39 -0500
committerDessalines <tyhou13@gmx.com>2020-02-03 19:52:39 -0500
commite4dfa5e52f911a6dbb5df41932a70dd9af3c9753 (patch)
tree28a97128f786ac758cbe3b2b2507d67565b0995a /ui/src/components/main.tsx
parenta28f8c7ac44594fbefb1d170b4e0365d04b6a204 (diff)
Combine duplicate front page posts. Fixes #284
Diffstat (limited to 'ui/src/components/main.tsx')
-rw-r--r--ui/src/components/main.tsx6
1 files changed, 5 insertions, 1 deletions
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>
)}