Fix typo in useValue comment (#3088)

Describe what your pull request does. If appropriate, add GIFs or images
showing the before and after.

### Change Type

- [ ] `patch` — Bug fix
- [ ] `minor` — New feature
- [ ] `major` — Breaking change
- [ ] `dependencies` — Changes to package dependencies[^1]
- [x] `documentation` — Changes to the documentation only[^2]
- [ ] `tests` — Changes to any test code only[^2]
- [ ] `internal` — Any other changes that don't affect the published
package[^2]
- [ ] I don't know

[^1]: publishes a `patch` release, for devDependencies use `internal`
[^2]: will not publish a new version

### Test Plan

1. Add a step-by-step description of how to test your PR here.
2.

- [ ] Unit Tests
- [ ] End to end tests

### Release Notes

- Fix typo in useValue comment.
This commit is contained in:
Slowhand 2024-03-11 04:45:37 +09:00 committed by GitHub
parent a691c60315
commit abf69e7107
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,7 +69,7 @@ export function useValue() {
// unmount us instead of re-rendering so the error is // unmount us instead of re-rendering so the error is
// irrelevant. if we're not in a zombie-child, react will // irrelevant. if we're not in a zombie-child, react will
// call `getSnapshot` again in the render phase, and the // call `getSnapshot` again in the render phase, and the
// error will be thrown as expected.å // error will be thrown as expected.
return {} return {}
} }
} }