]> 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>
Sun, 18 Jun 2023 14:18:17 +0000 (10:18 -0400)
src/shared/components/post/post-listing.tsx

index 99bec629737eca799ff38d494c77eba5bd6c8f5a..8dfc2c9d8110d6c0151d149c50d1eb948f9fe84b 100644 (file)
@@ -656,7 +656,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>
     );
   }
@@ -672,7 +672,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;