From 32cc2538d49e0a17cdc88668e00613c92aa60a1d 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 3efd7fd..c00c336 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