mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-01 01:59:56 +00:00
fix: Remove extraneous classes
This commit is contained in:
parent
00d7a8dbb7
commit
1db654ecf5
1 changed files with 8 additions and 8 deletions
|
@ -985,7 +985,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
get modBanFromCommunityButton() {
|
get modBanFromCommunityButton() {
|
||||||
return (
|
return (
|
||||||
<button
|
<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.handleModBanFromCommunityShow)}
|
onClick={linkEvent(this, this.handleModBanFromCommunityShow)}
|
||||||
aria-label={I18NextService.i18n.t("ban_from_community")}
|
aria-label={I18NextService.i18n.t("ban_from_community")}
|
||||||
>
|
>
|
||||||
|
@ -997,7 +997,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
get modUnbanFromCommunityButton() {
|
get modUnbanFromCommunityButton() {
|
||||||
return (
|
return (
|
||||||
<button
|
<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.handleModBanFromCommunitySubmit)}
|
onClick={linkEvent(this, this.handleModBanFromCommunitySubmit)}
|
||||||
aria-label={I18NextService.i18n.t("unban")}
|
aria-label={I18NextService.i18n.t("unban")}
|
||||||
>
|
>
|
||||||
|
@ -1009,7 +1009,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
get addModToCommunityButton() {
|
get addModToCommunityButton() {
|
||||||
return (
|
return (
|
||||||
<button
|
<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.handleAddModToCommunity)}
|
onClick={linkEvent(this, this.handleAddModToCommunity)}
|
||||||
aria-label={
|
aria-label={
|
||||||
this.creatorIsMod_
|
this.creatorIsMod_
|
||||||
|
@ -1031,7 +1031,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
get modBanButton() {
|
get modBanButton() {
|
||||||
return (
|
return (
|
||||||
<button
|
<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.handleModBanShow)}
|
onClick={linkEvent(this, this.handleModBanShow)}
|
||||||
aria-label={I18NextService.i18n.t("ban_from_site")}
|
aria-label={I18NextService.i18n.t("ban_from_site")}
|
||||||
>
|
>
|
||||||
|
@ -1043,7 +1043,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
get modUnbanButton() {
|
get modUnbanButton() {
|
||||||
return (
|
return (
|
||||||
<button
|
<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.handleModBanSubmit)}
|
onClick={linkEvent(this, this.handleModBanSubmit)}
|
||||||
aria-label={I18NextService.i18n.t("unban_from_site")}
|
aria-label={I18NextService.i18n.t("unban_from_site")}
|
||||||
>
|
>
|
||||||
|
@ -1059,7 +1059,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
get purgePersonButton() {
|
get purgePersonButton() {
|
||||||
return (
|
return (
|
||||||
<button
|
<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.handlePurgePersonShow)}
|
onClick={linkEvent(this, this.handlePurgePersonShow)}
|
||||||
aria-label={I18NextService.i18n.t("purge_user")}
|
aria-label={I18NextService.i18n.t("purge_user")}
|
||||||
>
|
>
|
||||||
|
@ -1071,7 +1071,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
get purgePostButton() {
|
get purgePostButton() {
|
||||||
return (
|
return (
|
||||||
<button
|
<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.handlePurgePostShow)}
|
onClick={linkEvent(this, this.handlePurgePostShow)}
|
||||||
aria-label={I18NextService.i18n.t("purge_post")}
|
aria-label={I18NextService.i18n.t("purge_post")}
|
||||||
>
|
>
|
||||||
|
@ -1083,7 +1083,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
get toggleAdminButton() {
|
get toggleAdminButton() {
|
||||||
return (
|
return (
|
||||||
<button
|
<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.handleAddAdmin)}
|
onClick={linkEvent(this, this.handleAddAdmin)}
|
||||||
>
|
>
|
||||||
{this.state.addAdminLoading ? (
|
{this.state.addAdminLoading ? (
|
||||||
|
|
Loading…
Reference in a new issue