mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-27 13:21:32 +00:00
Choices.destroy isnt working properly.
This commit is contained in:
parent
3342a6a910
commit
f0a223f337
1 changed files with 1 additions and 1 deletions
2
ui/src/components/post-form.tsx
vendored
2
ui/src/components/post-form.tsx
vendored
|
@ -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 a new issue