From: Jay Sitter <jay@jaysitter.com> Date: Sun, 25 Jun 2023 22:18:16 +0000 (-0400) Subject: fix: Remove unnecessary classes X-Git-Url: http://these/git/%7B%60https:/static/%7BjoinLemmyUrl%7D?a=commitdiff_plain;h=e84e2bfd1d1a40a2bc85fc3cc3feaa35e3cc1d4e;p=lemmy-ui.git fix: Remove unnecessary classes --- diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index 8cd8b0c..1534387 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -1115,7 +1115,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> { this.creatorIsMod_ && (!this.state.showConfirmTransferCommunity ? ( <button - className="btn btn-link btn-animate text-muted py-0 dropdown-item" + className="btn btn-link btn-animate text-muted py-0" onClick={linkEvent( this, this.handleShowConfirmTransferCommunity @@ -1127,13 +1127,13 @@ export class PostListing extends Component<PostListingProps, PostListingState> { ) : ( <> <button - className="d-inline-block me-1 btn btn-link btn-animate text-muted py-0 dropdown-item" + className="d-inline-block me-1 btn btn-link btn-animate text-muted py-0" aria-label={I18NextService.i18n.t("are_you_sure")} > {I18NextService.i18n.t("are_you_sure")} </button> <button - className="btn btn-link btn-animate text-muted py-0 dropdown-item d-inline-block me-1" + className="btn btn-link btn-animate text-muted py-0 d-inline-block me-1" aria-label={I18NextService.i18n.t("yes")} onClick={linkEvent(this, this.handleTransferCommunity)} > @@ -1144,7 +1144,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> { )} </button> <button - className="btn btn-link btn-animate text-muted py-0 dropdown-item d-inline-block" + className="btn btn-link btn-animate text-muted py-0 d-inline-block" onClick={linkEvent( this, this.handleCancelShowConfirmTransferCommunity