From: Zetaphor Date: Fri, 16 Jun 2023 21:56:06 +0000 (-0300) Subject: Remove extra div in post sidebar X-Git-Url: http://these/git/%7BpictrsAvatarThumbnail%28?a=commitdiff_plain;h=e13d6145cb6a8880f808c403e13921c6e0a11480;p=lemmy-ui.git Remove extra div in post sidebar --- diff --git a/src/shared/components/community/sidebar.tsx b/src/shared/components/community/sidebar.tsx index 5c8f46a..f4c7452 100644 --- a/src/shared/components/community/sidebar.tsx +++ b/src/shared/components/community/sidebar.tsx @@ -131,37 +131,39 @@ 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.badges()} - {this.mods()} -
-
-
+ ); } diff --git a/src/shared/components/post/post.tsx b/src/shared/components/post/post.tsx index 1b10a98..25fd1b3 100644 --- a/src/shared/components/post/post.tsx +++ b/src/shared/components/post/post.tsx @@ -548,24 +548,22 @@ export class Post extends Component { const res = this.state.postRes; if (res.state === "success") { return ( - + ); } }