From: Jay Sitter Date: Sat, 17 Jun 2023 22:17:22 +0000 (-0400) Subject: fix: Remove unused var X-Git-Url: http://these/git/%24%7BgetStaticDir%28%29%7D/styles/%7BallRss%7D?a=commitdiff_plain;h=96a4df220ab9b54352222d3de6e5c947090dc07d;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 99bec62..8dfc2c9 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -656,7 +656,7 @@ export class PostListing extends Component { {mobile && !this.props.viewOnly && this.mobileVotes} {UserService.Instance.myUserInfo && !this.props.viewOnly && - this.postActions(mobile)} + this.postActions()} ); } @@ -672,7 +672,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;