Choices.destroy isnt working properly.

This commit is contained in:
Dessalines 2020-07-18 19:36:45 -04:00
parent 3342a6a910
commit f0a223f337
1 changed files with 1 additions and 1 deletions

View 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;
}