Skip to content

Commit

Permalink
Fix PropTypes field typo
Browse files Browse the repository at this point in the history
PropTypes.function is undefined, the field is called PropTypes.func: https://www.npmjs.com/package/prop-types .
  • Loading branch information
dimitrovs committed Aug 3, 2017
1 parent 38e3022 commit 38fcc6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Translation.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ class MyHelloButton {
}
}
MyHelloButton.contextTypes = {
translate: PropTypes.function,
translate: PropTypes.func,
};

// in src/App.js
Expand Down

0 comments on commit 38fcc6e

Please sign in to comment.