]> Untitled Git - lemmy-ui.git/commitdiff
fix: Remove unnecessary classes
authorJay Sitter <jay@jaysitter.com>
Sun, 25 Jun 2023 22:18:16 +0000 (18:18 -0400)
committerJay Sitter <jay@jaysitter.com>
Sun, 25 Jun 2023 22:18:16 +0000 (18:18 -0400)
src/shared/components/post/post-listing.tsx

index 60fb12ff2251b515153e8926bd053524aa5219db..763c37c06917f5c6077d9fac0e6b788dde6d0b97 100644 (file)
@@ -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