]> Untitled Git - lemmy.git/commitdiff
Fix site-form cancel button.
authorDessalines <tyhou13@gmx.com>
Sat, 1 Jun 2019 22:12:10 +0000 (15:12 -0700)
committerDessalines <tyhou13@gmx.com>
Sat, 1 Jun 2019 22:12:10 +0000 (15:12 -0700)
- Fixes #164

ui/src/components/main.tsx

index ac43b1d9f88b5f3e41b5a7bfbcc2eb20a21b8c2d..153c9f7275de2e0f9ff33af68c1e0e05bf6591cb 100644 (file)
@@ -71,6 +71,7 @@ export class Main extends Component<any, MainState> {
     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))))