Skip to content

Commit

Permalink
Add explicit undefined for defaultNS in defaultProps
Browse files Browse the repository at this point in the history
  • Loading branch information
iancw committed Jul 17, 2018
1 parent e59304a commit 4d9765b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/I18nextProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,8 @@ I18nextProvider.childContextTypes = {
defaultNS: PropTypes.string
};

I18nextProvider.defaultProps = {
defaultNS: undefined
};

export default I18nextProvider;

0 comments on commit 4d9765b

Please sign in to comment.