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.
2 parents 5f1f677 + 3e8b666 commit c79ebf6Copy full SHA for c79ebf6
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