1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

dont await void methods

This commit is contained in:
Kyle Spearrin 2018-10-04 12:05:32 -04:00
parent c53b690097
commit a19f53eca9
2 changed files with 2 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit 6b3dc2344f2db167cbc404d83fa4602a1ca93ef8
Subproject commit 1f36c5fee6a294f455de8c10c3d7316f708ec214

View File

@ -126,7 +126,7 @@ export function initFactory(): Function {
lockService.init(true);
const locale = await storageService.get<string>(ConstantsService.localeKey);
await i18nService.init(locale);
await authService.init();
authService.init();
setTimeout(() => notificationsService.init(environmentService), 3000);
const htmlEl = window.document.documentElement;
htmlEl.classList.add('os_' + platformUtilsService.getDeviceString());