Choices.destroy isnt working properly.

pull/994/head
Dessalines 4 years ago
parent 3342a6a910
commit f0a223f337

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

Loading…
Cancel
Save