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