diff --git a/content/docs/hooks-reference.md b/content/docs/hooks-reference.md
index 852ae4833..38b740aad 100644
--- a/content/docs/hooks-reference.md
+++ b/content/docs/hooks-reference.md
@@ -450,7 +450,7 @@ function FancyInput(props, ref) {
FancyInput = forwardRef(FancyInput);
```
-In this example, a parent component that renders `` would be able to call `fancyInputRef.current.focus()`.
+In this example, a parent component that renders `` would be able to call `inputRef.current.focus()`.
### `useLayoutEffect` {#uselayouteffect}