From: Jay Sitter Date: Sat, 17 Jun 2023 22:17:22 +0000 (-0400) Subject: fix: Remove unused var X-Git-Url: http://these/git/?a=commitdiff_plain;h=57ef993b82bf08b3fadbaee745ba796c1cdee72d;p=lemmy-ui.git fix: Remove unused var --- diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index 6f0fe08..7fca579 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -654,7 +654,7 @@ export class PostListing extends Component { {mobile && !this.props.viewOnly && this.mobileVotes} {UserService.Instance.myUserInfo && !this.props.viewOnly && - this.postActions(mobile)} + this.postActions()} ); } @@ -670,7 +670,7 @@ export class PostListing extends Component { ); } - postActions(mobile = false) { + postActions() { // Possible enhancement: Priority+ pattern instead of just hard coding which get hidden behind the show more button. // Possible enhancement: Make each button a component. const post_view = this.postView;