fix serviceworker

This commit is contained in:
ThatOneCalculator 2022-11-15 01:00:34 -08:00
parent b5f997360c
commit 80392daea7

View file

@ -23,7 +23,7 @@ class SwLang {
public i18n: Promise<I18n<any>> | null = null; public i18n: Promise<I18n<any>> | null = null;
public fetchLocale() { public fetchLocale() {
return i18n = this._fetch(); return this.i18n = this._fetch();
} }
private async _fetch() { private async _fetch() {