Skip to content

Commit 2c1bfa5

Browse files
authored
fix(i18next): enhance language key handling (deriv-com#17906)
1 parent 4b4907c commit 2c1bfa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/translations/src/i18next/i18next.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ const initial_language = getInitialLanguage();
139139
const i18n_config = {
140140
react: {
141141
hashTransKey(defaultValue: string) {
142-
return crc32(defaultValue);
142+
return crc32(defaultValue ?? '');
143143
},
144144
useSuspense: false,
145145
},

0 commit comments

Comments
 (0)