diff --git a/packages/sw/src/scripts/lang.ts b/packages/sw/src/scripts/lang.ts index b2e42b19ec..2d05404ef9 100644 --- a/packages/sw/src/scripts/lang.ts +++ b/packages/sw/src/scripts/lang.ts @@ -23,7 +23,7 @@ class SwLang { public i18n: Promise> | null = null; public fetchLocale() { - return i18n = this._fetch(); + return this.i18n = this._fetch(); } private async _fetch() {