summaryrefslogtreecommitdiffstats
path: root/ui/src/components/community-form.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-01-19 00:38:45 -0500
committerDessalines <tyhou13@gmx.com>2020-01-19 00:38:45 -0500
commitdcd60228ed753a146bcb56bb5bf51166835acfb7 (patch)
treef21c87ff98fd81af2d843fe1fe30c45b9e708af4 /ui/src/components/community-form.tsx
parenta044718066623f19d51196d444bd199c1231cebe (diff)
Strongly typing WebsocketJsonResponse. Forgot comment-form.tsx
Diffstat (limited to 'ui/src/components/community-form.tsx')
-rw-r--r--ui/src/components/community-form.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/components/community-form.tsx b/ui/src/components/community-form.tsx
index 93f4d649..14cd8e4f 100644
--- a/ui/src/components/community-form.tsx
+++ b/ui/src/components/community-form.tsx
@@ -239,7 +239,7 @@ export class CommunityForm extends Component<
i.props.onCancel();
}
- parseMessage(msg: any) {
+ parseMessage(msg: WebSocketJsonResponse) {
let res = wsJsonToRes(msg);
console.log(msg);
if (res.error) {