fix(validate-mixin): remove event listener on disconnect instead of add
This commit is contained in:
parent
07c598fd68
commit
4a228e671d
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ export const ValidateMixin = dedupeMixin(
|
|||
|
||||
disconnectedCallback() {
|
||||
super.disconnectedCallback();
|
||||
localize.addEventListener('localeChanged', this._updateFeedbackComponent);
|
||||
localize.removeEventListener('localeChanged', this._updateFeedbackComponent);
|
||||
}
|
||||
|
||||
firstUpdated(changedProperties) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue