diff --git a/src/components/BlockPanel.js b/src/components/BlockPanel.js index 0cd2f46c7..f373c3b62 100644 --- a/src/components/BlockPanel.js +++ b/src/components/BlockPanel.js @@ -11,7 +11,7 @@ const BlockPanel = (props) => ( ); -BlockPanel.PropTypes = { +BlockPanel.propTypes = { title: React.PropTypes.string, url: React.PropTypes.string, value: React.PropTypes.string diff --git a/src/components/Datapair.js b/src/components/Datapair.js index c24ae7016..00b1fdaed 100644 --- a/src/components/Datapair.js +++ b/src/components/Datapair.js @@ -8,7 +8,7 @@ const Datapair = (props) => ( ); -Datapair.PropTypes = { +Datapair.propTypes = { label: React.PropTypes.string.isRequired, value: React.PropTypes.string };