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 5f1f677 commit 3e8b666Copy full SHA for 3e8b666
src/translations/utils.ts
@@ -31,7 +31,7 @@ export function getTranslation<K extends keyof TranslationsType>(
31
return fallback || key
32
}
33
const translation = translationsPerLocale[l][key]
34
- if (!translationForLocale) {
+ if (!translation) {
35
console.warn(
36
`[react-native-paper-dates] ${locale} is registered, but ${key} is missing`
37
)
0 commit comments