Skip to content

Commit

Permalink
fix(i18next): enhance language key handling (#17906)
Browse files Browse the repository at this point in the history
  • Loading branch information
heorhi-deriv authored Dec 31, 2024
1 parent 4b4907c commit 2c1bfa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/translations/src/i18next/i18next.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const initial_language = getInitialLanguage();
const i18n_config = {
react: {
hashTransKey(defaultValue: string) {
return crc32(defaultValue);
return crc32(defaultValue ?? '');
},
useSuspense: false,
},
Expand Down

0 comments on commit 2c1bfa5

Please sign in to comment.