docs: fix typo in useRefMounted docs

This commit is contained in:
Va Da 2019-04-22 15:09:51 +01:00 committed by GitHub
commit 4bd59e9271
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ const Demo = () => {
useEffect(() => {
setTimeout(() => {
if (refMounted.currrent) {
if (refMounted.current) {
// ...
} else {
// ...