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:/image.com/readmes/%7B%60%24%7BarchiveUrl%7D/%7B%24%7B%60data:application/manifest%20json;base64%2C%24%7Bawait?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))))