From d108f073673a919925503ddd4914e48ceac5dae6 Mon Sep 17 00:00:00 2001 From: Gary Thomas Date: Wed, 26 Oct 2016 15:33:22 -0700 Subject: [PATCH] gt - Correct prototypes case --- src/components/BlockPanel.js | 2 +- src/components/Datapair.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 };