mirror of
https://github.com/streamich/react-use.git
synced 2026-01-25 14:17:16 +00:00
docs: fix typo in useRefMounted docs
This commit is contained in:
commit
4bd59e9271
@ -14,7 +14,7 @@ const Demo = () => {
|
||||
|
||||
useEffect(() => {
|
||||
setTimeout(() => {
|
||||
if (refMounted.currrent) {
|
||||
if (refMounted.current) {
|
||||
// ...
|
||||
} else {
|
||||
// ...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user