From d9372253cebead1889879b85a77b2b1d1cfa70f7 Mon Sep 17 00:00:00 2001 From: Kyle Roach Date: Thu, 13 Jul 2017 13:58:13 -0400 Subject: [PATCH] [Quick fix] Missed 4 instances of React.PropTypes --- elements/TSpan.js | 4 ++-- elements/Text.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/elements/TSpan.js b/elements/TSpan.js index a4447bbd..4c33f99d 100644 --- a/elements/TSpan.js +++ b/elements/TSpan.js @@ -20,7 +20,7 @@ export default class extends Shape { }; static childContextTypes = { - isInAParentText: React.PropTypes.bool + isInAParentText: PropTypes.bool }; getChildContext() { @@ -31,7 +31,7 @@ export default class extends Shape { getContextTypes() { return { - isInAParentText: React.PropTypes.bool + isInAParentText: PropTypes.bool }; }; diff --git a/elements/Text.js b/elements/Text.js index e7abd6b9..a3b709d8 100644 --- a/elements/Text.js +++ b/elements/Text.js @@ -19,7 +19,7 @@ export default class extends Shape { }; static childContextTypes = { - isInAParentText: React.PropTypes.bool + isInAParentText: PropTypes.bool }; getChildContext() { @@ -30,7 +30,7 @@ export default class extends Shape { getContextTypes() { return { - isInAParentText: React.PropTypes.bool + isInAParentText: PropTypes.bool }; };