]> Untitled Git - lemmy-ui.git/commitdiff
fix: Remove unused var
authorJay Sitter <jay@jaysitter.com>
Sat, 17 Jun 2023 22:17:22 +0000 (18:17 -0400)
committerJay Sitter <jay@jaysitter.com>
Sat, 17 Jun 2023 22:17:22 +0000 (18:17 -0400)
src/shared/components/post/post-listing.tsx

index 6f0fe08b1bf06c838951bb82b7774679c89af9e8..7fca5793269cab8cad572496a1fade5ba5df8136 100644 (file)
@@ -654,7 +654,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
         {mobile && !this.props.viewOnly && this.mobileVotes}
         {UserService.Instance.myUserInfo &&
           !this.props.viewOnly &&
-          this.postActions(mobile)}
+          this.postActions()}
       </div>
     );
   }
@@ -670,7 +670,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
     );
   }
 
-  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;