From f6e5d655ddc65999405a387d505c0f45877c9d07 Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Wed, 7 Mar 2018 10:38:17 -0800 Subject: [PATCH] Fixed off-by-one line highlights. --- content/docs/refs-and-the-dom.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/refs-and-the-dom.md b/content/docs/refs-and-the-dom.md index f16790fa2..4d31a1054 100644 --- a/content/docs/refs-and-the-dom.md +++ b/content/docs/refs-and-the-dom.md @@ -111,7 +111,7 @@ React will assign the `value` property with the DOM element when the component m If we wanted to wrap the `CustomTextInput` above to simulate it being clicked immediately after mounting, we could use a ref to get access to the custom input and call its `focusTextInput` method manually: -```javascript{4,7,12} +```javascript{4,8,13} class AutoFocusTextInput extends React.Component { constructor(props) { super(props);