mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-09 16:08:49 -06:00
This commit is contained in:
parent
cb77339370
commit
4b30b6d764
2
ui/src/components/post-form.tsx
vendored
2
ui/src/components/post-form.tsx
vendored
@ -166,7 +166,7 @@ export class PostForm extends Component<PostFormProps, PostFormState> {
|
|||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
this.subscription.unsubscribe();
|
this.subscription.unsubscribe();
|
||||||
this.choices.destroy();
|
this.choices && this.choices.destroy();
|
||||||
window.onbeforeunload = null;
|
window.onbeforeunload = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user