]> Untitled Git - lemmy.git/commitdiff
Choices.destroy isnt working properly.
authorDessalines <tyhou13@gmx.com>
Sat, 18 Jul 2020 23:36:45 +0000 (19:36 -0400)
committerDessalines <tyhou13@gmx.com>
Sat, 18 Jul 2020 23:36:45 +0000 (19:36 -0400)
ui/src/components/post-form.tsx

index f94f902fcbd8ad685a765681a903038748c39595..6656ef84242bdab6188cf78ef92ae2b8f5a65a56 100644 (file)
@@ -151,7 +151,7 @@ export class PostForm extends Component<PostFormProps, PostFormState> {
 
   componentWillUnmount() {
     this.subscription.unsubscribe();
-    this.choices && this.choices.destroy();
+    /* this.choices && this.choices.destroy(); */
     window.onbeforeunload = null;
   }