projects
/
lemmy-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c26491
)
fix: Remove unused var
author
Jay Sitter
<jay@jaysitter.com>
Sat, 17 Jun 2023 22:17:22 +0000
(18:17 -0400)
committer
Jay Sitter
<jay@jaysitter.com>
Sun, 18 Jun 2023 14:18:17 +0000
(10:18 -0400)
src/shared/components/post/post-listing.tsx
patch
|
blob
|
history
diff --git
a/src/shared/components/post/post-listing.tsx
b/src/shared/components/post/post-listing.tsx
index 99bec629737eca799ff38d494c77eba5bd6c8f5a..8dfc2c9d8110d6c0151d149c50d1eb948f9fe84b 100644
(file)
--- 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<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;