From 5593059434dd3808243a1cb094ea5046ecfcdc6d Mon Sep 17 00:00:00 2001 From: Marc Bouchard Date: Mon, 16 Apr 2018 21:37:06 -0400 Subject: [PATCH] docs(refs-and-the-dom): typo in CustomTextInput (#813) Correct a typo in the render method comments for the "CustomTextInput" component of the "Adding a Ref to a DOM Element" example. The first line of the comments reads "tell React that we want the associate the ref". The word "the" should be "to" resulting in the comment "tell React that we want to associate the ref". --- 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 df9df0aa..12c97b76 100644 --- a/content/docs/refs-and-the-dom.md +++ b/content/docs/refs-and-the-dom.md @@ -87,7 +87,7 @@ class CustomTextInput extends React.Component { } render() { - // tell React that we want the associate the ref + // tell React that we want to associate the ref // with the `textInput` that we created in the constructor return (