Merge pull request #153 from giantss/master

Fix  Cannot read property 'getLanguages' of undefined
This commit is contained in:
Mathieu Acthernoene 2017-12-21 09:36:33 +01:00 committed by GitHub
commit 07ce26963e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,5 +9,5 @@ if (typeof RNI18n !== 'undefined') {
console.warn('react-native-i18n module is not correctly linked');
}
export const getLanguages = RNI18n.getLanguages;
export const getLanguages = () => RNI18n.getLanguages();
export default I18nJs;