Skip to content

Commit ffefcdd

Browse files
committed
chore: run pnpm dedupe
See https://pnpm.io/cli/dedupe
1 parent 2b29c99 commit ffefcdd

File tree

2 files changed

+1398
-12036
lines changed

2 files changed

+1398
-12036
lines changed

apps/staking/src/components/Root/i18n-provider.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ export const I18nProvider = (
1515
() =>
1616
isSSR
1717
? DEFAULT_LOCALE
18-
: window.navigator.languages.find((locale) => {
18+
: (window.navigator.languages.find((locale) => {
1919
const language = parse(locale).language;
2020
return (
2121
language !== undefined &&
2222
language !== null &&
2323
SUPPORTED_LANGUAGES.has(language)
2424
);
25-
}) ?? DEFAULT_LOCALE,
25+
}) ?? DEFAULT_LOCALE),
2626
[isSSR],
2727
);
2828

0 commit comments

Comments
 (0)