From 57ef993b82bf08b3fadbaee745ba796c1cdee72d Mon Sep 17 00:00:00 2001 From: Jay Sitter Date: Sat, 17 Jun 2023 18:17:22 -0400 Subject: [PATCH] fix: Remove unused var --- src/shared/components/post/post-listing.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.44.1