X-Git-Url: http://these/git/?a=blobdiff_plain;f=src%2Fshared%2Fcomponents%2Fcommunity%2Fsidebar.tsx;fp=src%2Fshared%2Fcomponents%2Fcommunity%2Fsidebar.tsx;h=711ab5e664df4c9c6bf057d1ea614a7d2b300ab1;hb=8bbb6c9652bbbfda1ca9cc41592c413549f16c75;hp=f4c74528bd74a6b3ae57e0cb129d8903d46647b1;hpb=1242d8d426cf258c1679efd7494811357a87232a;p=lemmy-ui.git diff --git a/src/shared/components/community/sidebar.tsx b/src/shared/components/community/sidebar.tsx index f4c7452..711ab5e 100644 --- a/src/shared/components/community/sidebar.tsx +++ b/src/shared/components/community/sidebar.tsx @@ -24,8 +24,8 @@ import { hostname, mdToHtml, myAuthRequired, - numToSI, } from "../../utils"; +import { Badges } from "../common/badges"; import { BannerIconHeader } from "../common/banner-icon-header"; import { Icon, PurgeWarning, Spinner } from "../common/icon"; import { CommunityForm } from "../community/community-form"; @@ -158,7 +158,10 @@ export class Sidebar extends Component {
{this.description()} - {this.badges()} + {this.mods()}
@@ -233,93 +236,6 @@ export class Sidebar extends Component { ); } - badges() { - const community_view = this.props.community_view; - const counts = community_view.counts; - return ( - - ); - } - mods() { return (