fix: Remove unused prop
authorJay Sitter <jay@jaysitter.com>
Fri, 23 Jun 2023 03:53:48 +0000 (23:53 -0400)
committerJay Sitter <jay@jaysitter.com>
Fri, 23 Jun 2023 16:14:48 +0000 (12:14 -0400)
src/shared/components/post/post-listing.tsx

index 8e0cc28cfd7a3de620f87a07e990a4a01424adbf..e8ab95ebe05d29477996ebf237cfeedf92ce7404 100644 (file)
@@ -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}