Skip to content

Commit 3e34eeb

Browse files
authored
Fix typo in useRef.md
1 parent 8d73630 commit 3e34eeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/useRef.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ export default function MyInput({ value, onChange }) {
573573
}
574574
```
575575
576-
And then add `ref` to the list of props your component accepts and pass `ref` as a prop to the relevent child [built-in component](/reference/react-dom/components/common) like this:
576+
And then add `ref` to the list of props your component accepts and pass `ref` as a prop to the relevant child [built-in component](/reference/react-dom/components/common) like this:
577577
578578
```js {1,6}
579579
function MyInput({ value, onChange, ref }) {

0 commit comments

Comments
 (0)