mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
dont await void methods
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 6b3dc2344f...1f36c5fee6
@@ -147,7 +147,7 @@ export class Main {
|
|||||||
// });
|
// });
|
||||||
const locale = await this.storageService.get<string>(ConstantsService.localeKey);
|
const locale = await this.storageService.get<string>(ConstantsService.localeKey);
|
||||||
await this.i18nService.init(locale);
|
await this.i18nService.init(locale);
|
||||||
await this.authService.init();
|
this.authService.init();
|
||||||
|
|
||||||
const installedVersion = await this.storageService.get<string>(ConstantsService.installedVersionKey);
|
const installedVersion = await this.storageService.get<string>(ConstantsService.installedVersionKey);
|
||||||
const currentVersion = this.platformUtilsService.getApplicationVersion();
|
const currentVersion = this.platformUtilsService.getApplicationVersion();
|
||||||
|
|||||||
Reference in New Issue
Block a user