X-Git-Url: http://these/git/?a=blobdiff_plain;f=src%2Fshared%2Fcomponents%2Fcommunity%2Fsidebar.tsx;h=711ab5e664df4c9c6bf057d1ea614a7d2b300ab1;hb=8bbb6c9652bbbfda1ca9cc41592c413549f16c75;hp=7023d133f5582435c3cbb685eb7bfab222ca1cf2;hpb=f8f1f49250dc26a2cb4b48bf707a684f0c75337a;p=lemmy-ui.git diff --git a/src/shared/components/community/sidebar.tsx b/src/shared/components/community/sidebar.tsx index 7023d13..711ab5e 100644 --- a/src/shared/components/community/sidebar.tsx +++ b/src/shared/components/community/sidebar.tsx @@ -39,7 +39,6 @@ interface SidebarProps { allLanguages: Language[]; siteLanguages: number[]; communityLanguages?: number[]; - online: number; enableNsfw?: boolean; showIcon?: boolean; editable?: boolean; @@ -132,41 +131,42 @@ export class Sidebar extends Component { const myUSerInfo = UserService.Instance.myUserInfo; const { name, actor_id } = this.props.community_view.community; return ( -
-
-
- {this.communityTitle()} - {this.props.editable && this.adminButtons()} - {myUSerInfo && this.subscribe()} - {this.canPost && this.createPost()} - {myUSerInfo && this.blockCommunity()} - {!myUSerInfo && ( -
- - ### - -
- )} -
-
-
-
- {this.description()} - - {this.mods()} -
+
+ ); }