From: Dessalines Date: Sat, 1 Jun 2019 22:12:10 +0000 (-0700) Subject: Fix site-form cancel button. X-Git-Url: http://these/git/%22https:/join-lemmy.org/static/sneer-club-logo.svg?a=commitdiff_plain;h=178a2ed933f0a29725f5672d94d227aa598280cb;p=lemmy.git Fix site-form cancel button. - Fixes #164 --- diff --git a/ui/src/components/main.tsx b/ui/src/components/main.tsx index ac43b1d9..153c9f72 100644 --- a/ui/src/components/main.tsx +++ b/ui/src/components/main.tsx @@ -71,6 +71,7 @@ export class Main extends Component { super(props, context); this.state = this.emptyState; + this.handleEditCancel = this.handleEditCancel.bind(this); this.subscription = WebSocketService.Instance.subject .pipe(retryWhen(errors => errors.pipe(delay(3000), take(10))))