mirror of https://github.com/LemmyNet/lemmy.git
Choices.destroy isnt working properly.
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…
Reference in New Issue