diff options
author | Dessalines <tyhou13@gmx.com> | 2019-04-25 20:14:52 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-04-25 20:14:52 -0700 |
commit | 9374aefa56a707cafce8740cd45a0d254ea2184f (patch) | |
tree | 306c6a35e099768c0d10ea69fe8af282cd7bb5e2 /ui/src/components/community-form.tsx | |
parent | 1e0aa5dd3d8b616a5be49887f284047d09cd1871 (diff) |
Temp
Diffstat (limited to 'ui/src/components/community-form.tsx')
-rw-r--r-- | ui/src/components/community-form.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/src/components/community-form.tsx b/ui/src/components/community-form.tsx index 66071a3f..5effa73a 100644 --- a/ui/src/components/community-form.tsx +++ b/ui/src/components/community-form.tsx @@ -120,7 +120,10 @@ export class CommunityForm extends Component<CommunityFormProps, CommunityFormSt if (i.props.community) { WebSocketService.Instance.editCommunity(i.state.communityForm); } else { - WebSocketService.Instance.createCommunity(i.state.communityForm); + + setTimeout(function(){ + WebSocketService.Instance.createCommunity(i.state.communityForm); + }, 10000); } i.setState(i.state); } |