Browse Source

[beta] fix typo in useref.md (#4352)

grammar
main
Mayank 3 years ago
committed by GitHub
parent
commit
3d6eba79e6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beta/src/pages/apis/useref.md

2
beta/src/pages/apis/useref.md

@ -479,7 +479,7 @@ Normally, writing or reading `ref.current` during render is not allowed. However
<DeepDive title="How to avoid null checks when initializing useRef later"> <DeepDive title="How to avoid null checks when initializing useRef later">
If use a type checker and don't want to always check for `null`, you can try a pattern like this instead: If you use a type checker and don't want to always check for `null`, you can try a pattern like this instead:
```js ```js
function Video() { function Video() {

Loading…
Cancel
Save