diff --git a/packages/sw/src/scripts/lang.ts b/packages/sw/src/scripts/lang.ts index b2e42b19e..2d05404ef 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() {