From 80392daea7c71553bbc563827c9f2bbca58cda5d 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 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() {