From f0a223f33708375b6baa1938fa4eca640ab90695 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sat, 18 Jul 2020 19:36:45 -0400 Subject: [PATCH] Choices.destroy isnt working properly. --- ui/src/components/post-form.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/post-form.tsx b/ui/src/components/post-form.tsx index f94f902fc..6656ef842 100644 --- a/ui/src/components/post-form.tsx +++ b/ui/src/components/post-form.tsx @@ -151,7 +151,7 @@ export class PostForm extends Component { componentWillUnmount() { this.subscription.unsubscribe(); - this.choices && this.choices.destroy(); + /* this.choices && this.choices.destroy(); */ window.onbeforeunload = null; }