From e7889c4f69a0dc5c530da70c5f7a01606abbbf3a Mon Sep 17 00:00:00 2001 From: Jay Sitter <jay@jaysitter.com> Date: Sun, 25 Jun 2023 18:18:16 -0400 Subject: [PATCH] fix: Remove unnecessary classes --- src/shared/components/post/post-listing.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index 60fb12f..763c37c 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -1145,7 +1145,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 @@ -1157,13 +1157,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)} > @@ -1174,7 +1174,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 -- 2.44.1