chore(custom-element): fix comment typo (#5028) [skip ci]

This commit is contained in:
n2ptune 2021-12-03 18:10:54 +09:00 committed by GitHub
parent 2d4f455434
commit 772574febb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -321,7 +321,7 @@ export class VueElement extends BaseClass {
// HMR
if (__DEV__) {
instance.ceReload = newStyles => {
// alawys reset styles
// always reset styles
if (this._styles) {
this._styles.forEach(s => this.shadowRoot!.removeChild(s))
this._styles.length = 0