diff options
author | Dessalines <tyhou13@gmx.com> | 2019-10-18 15:05:50 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-10-18 15:05:50 -0700 |
commit | 3d7831f86d12d7b060c28d5619206307ad285f2e (patch) | |
tree | b3475ce9c8bb1bc6f31c715657e30187814bba63 /ui/src/components/community.tsx | |
parent | 05d8e2957982579c33f143f180317b1e61e076d8 (diff) |
Fixing issue with community.tsx.
Diffstat (limited to 'ui/src/components/community.tsx')
-rw-r--r-- | ui/src/components/community.tsx | 3 |
1 files changed, 1 insertions, 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<any, State> { WebSocketService.Instance.getCommunityByName(this.state.communityName); } - this.keepFetchingPosts(); } componentWillUnmount() { @@ -218,7 +217,7 @@ export class Community extends Component<any, State> { 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; |