Skip to content

Commit

Permalink
Merge pull request AlexanderZaytsev#153 from giantss/master
Browse files Browse the repository at this point in the history
Fix  Cannot read property 'getLanguages' of undefined
  • Loading branch information
zoontek authored Dec 21, 2017
2 parents c4764d8 + 978c406 commit 07ce269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 07ce269

Please sign in to comment.