summaryrefslogtreecommitdiffstats
path: root/ui/src/components/community-form.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-04-25 20:14:52 -0700
committerDessalines <tyhou13@gmx.com>2019-04-25 20:14:52 -0700
commit9374aefa56a707cafce8740cd45a0d254ea2184f (patch)
tree306c6a35e099768c0d10ea69fe8af282cd7bb5e2 /ui/src/components/community-form.tsx
parent1e0aa5dd3d8b616a5be49887f284047d09cd1871 (diff)
Temp
Diffstat (limited to 'ui/src/components/community-form.tsx')
-rw-r--r--ui/src/components/community-form.tsx5
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);
}