fix: Remove unused var

This commit is contained in:
Jay Sitter 2023-06-17 18:17:22 -04:00
parent 7c264916a3
commit 96a4df220a

View file

@ -656,7 +656,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
{mobile && !this.props.viewOnly && this.mobileVotes} {mobile && !this.props.viewOnly && this.mobileVotes}
{UserService.Instance.myUserInfo && {UserService.Instance.myUserInfo &&
!this.props.viewOnly && !this.props.viewOnly &&
this.postActions(mobile)} this.postActions()}
</div> </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: Priority+ pattern instead of just hard coding which get hidden behind the show more button.
// Possible enhancement: Make each button a component. // Possible enhancement: Make each button a component.
const post_view = this.postView; const post_view = this.postView;