diff options
Diffstat (limited to 'ui/src/components/community-form.tsx')
-rw-r--r-- | ui/src/components/community-form.tsx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/src/components/community-form.tsx b/ui/src/components/community-form.tsx index 5effa73a..66071a3f 100644 --- a/ui/src/components/community-form.tsx +++ b/ui/src/components/community-form.tsx @@ -120,10 +120,7 @@ export class CommunityForm extends Component<CommunityFormProps, CommunityFormSt if (i.props.community) { WebSocketService.Instance.editCommunity(i.state.communityForm); } else { - - setTimeout(function(){ - WebSocketService.Instance.createCommunity(i.state.communityForm); - }, 10000); + WebSocketService.Instance.createCommunity(i.state.communityForm); } i.setState(i.state); } |