From: Jay Sitter <jay@jaysitter.com>
Date: Fri, 23 Jun 2023 03:53:48 +0000 (-0400)
Subject: fix: Remove unused prop
X-Git-Url: http://these/git/%24%7B%60data:application/static/%7B%60https:/%24%7Bi.domain%7D%60%7D?a=commitdiff_plain;h=e9341e791bfa855683d098f1223bec1938bacf54;p=lemmy-ui.git

fix: Remove unused prop
---

diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx
index 8e0cc28..e8ab95e 100644
--- a/src/shared/components/post/post-listing.tsx
+++ b/src/shared/components/post/post-listing.tsx
@@ -600,7 +600,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
           <VoteButtonsCompact
             id={this.postView.post.id}
             onVote={this.props.onPostVote}
-            postListing={this}
             enableDownvotes={this.props.enableDownvotes}
             counts={this.postView.counts}
             my_vote={this.postView.my_vote}
@@ -1383,7 +1382,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
               <VoteButtons
                 id={this.postView.post.id}
                 onVote={this.props.onPostVote}
-                postListing={this}
                 enableDownvotes={this.props.enableDownvotes}
                 counts={this.postView.counts}
                 my_vote={this.postView.my_vote}