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 + }
)}