diff --git a/examples/context/forwarding-refs-fancy-button.js b/examples/context/forwarding-refs-fancy-button.js index 9e8f6d86..f3be5da8 100644 --- a/examples/context/forwarding-refs-fancy-button.js +++ b/examples/context/forwarding-refs-fancy-button.js @@ -8,7 +8,7 @@ class FancyButton extends React.Component { // Use context to pass the current "theme" to FancyButton. // Use forwardRef to pass refs to FancyButton as well. -// highlight-range{1,3} +// highlight-range{1,4} export default React.forwardRef((props, ref) => ( {theme => ( diff --git a/examples/context/higher-order-component-usage.js b/examples/context/higher-order-component-usage.js index e9ebb22d..6f2757de 100644 --- a/examples/context/higher-order-component-usage.js +++ b/examples/context/higher-order-component-usage.js @@ -1,7 +1,5 @@ function Button({theme, ...rest}) { - // highlight-next-line return