From b036fdd9a0a890d29c4998881a7a30b9b3c4cea4 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 15 Nov 2022 01:00:34 -0800 Subject: [PATCH] fix serviceworker --- packages/sw/src/scripts/lang.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {