diff --git a/src/shared/components/community/sidebar.tsx b/src/shared/components/community/sidebar.tsx index 733c19a1..d5cf2cb6 100644 --- a/src/shared/components/community/sidebar.tsx +++ b/src/shared/components/community/sidebar.tsx @@ -260,20 +260,18 @@ export class Sidebar extends Component { subscribe() { const community_view = this.props.community_view; return ( - <> - {community_view.subscribed == "NotSubscribed" && ( - - )} - + community_view.subscribed === "NotSubscribed" && ( + + ) ); } @@ -281,18 +279,16 @@ export class Sidebar extends Component { const { subscribed, blocked } = this.props.community_view; return ( - <> - {subscribed == "NotSubscribed" && ( - - )} - + subscribed === "NotSubscribed" && ( + + ) ); }