From: Dessalines Date: Fri, 18 Oct 2019 22:05:50 +0000 (-0700) Subject: Fixing issue with community.tsx. X-Git-Url: http://these/git/%22https:/nerdica.net/%7B%24%7B%60data:application/static/%24%7B%60data:application/%7BdocsUrl%7D?a=commitdiff_plain;h=3d7831f86d12d7b060c28d5619206307ad285f2e;p=lemmy.git Fixing issue with community.tsx. --- diff --git a/ui/src/components/community.tsx b/ui/src/components/community.tsx index bcd232e3..580e9a49 100644 --- a/ui/src/components/community.tsx +++ b/ui/src/components/community.tsx @@ -80,7 +80,6 @@ export class Community extends Component { WebSocketService.Instance.getCommunityByName(this.state.communityName); } - this.keepFetchingPosts(); } componentWillUnmount() { @@ -218,7 +217,7 @@ export class Community extends Component { this.state.admins = res.admins; document.title = `/c/${this.state.community.name} - ${WebSocketService.Instance.site.name}`; this.setState(this.state); - this.fetchPosts(); + this.keepFetchingPosts(); } else if (op == UserOperation.EditCommunity) { let res: CommunityResponse = msg; this.state.community = res.community;