From 3d7831f86d12d7b060c28d5619206307ad285f2e Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 18 Oct 2019 15:05:50 -0700 Subject: [PATCH] Fixing issue with community.tsx. --- ui/src/components/community.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.44.1