We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d90dd19 commit ad4bcc5Copy full SHA for ad4bcc5
apps/browser-extension-wallet/src/hooks/useAppInit.ts
@@ -42,7 +42,7 @@ export const useAppInit = (): void => {
42
backgroundServices
43
.getBackgroundStorage()
44
.then((bs) => {
45
- initI18n(bs.languageChoice ?? window.navigator.language);
+ initI18n(bs.languageChoice ?? globalThis.navigator.language ?? 'en');
46
})
47
.catch((error) => {
48
// eslint-disable-next-line no-console
0 commit comments