From 797a792b779f81e8512d1c541217dfe063997b80 Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Thu, 29 Mar 2018 09:24:38 -0700 Subject: [PATCH] Revert "Prettier" This reverts commit 032576cf7bf51d8aa1c8bd850a1fa408a215edd7. --- examples/context/consumer-cached-function-as-a-child.js | 4 +--- examples/context/consumer-inline-function-as-a-child.js | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/examples/context/consumer-cached-function-as-a-child.js b/examples/context/consumer-cached-function-as-a-child.js index ac442905..b739e80b 100644 --- a/examples/context/consumer-cached-function-as-a-child.js +++ b/examples/context/consumer-cached-function-as-a-child.js @@ -4,9 +4,7 @@ class Example extends React.Component { renderValue = value => { return (
- Context value:{value}. Props value:{ - this.props.counter - } + Context value:{value}. Props value:{this.props.counter}
); }; diff --git a/examples/context/consumer-inline-function-as-a-child.js b/examples/context/consumer-inline-function-as-a-child.js index 1ba7868b..3b75a54d 100644 --- a/examples/context/consumer-inline-function-as-a-child.js +++ b/examples/context/consumer-inline-function-as-a-child.js @@ -6,9 +6,7 @@ class Example extends React.Component { {value => (
- Context value:{value}. Props value:{ - this.props.counter - } + Context value:{value}. Props value:{this.props.counter}
)}