dan
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
beta/src/content/apis/react/useCallback.md
|
|
@ -915,7 +915,7 @@ function ReportList({ items }) { |
|
|
|
|
|
|
|
const Report = memo(function Report({ item }) { |
|
|
|
function handleClick() { |
|
|
|
sendReport(item) |
|
|
|
sendReport(item); |
|
|
|
} |
|
|
|
|
|
|
|
return ( |
|
|
@ -924,4 +924,4 @@ const Report = memo(function Report({ item }) { |
|
|
|
</figure> |
|
|
|
); |
|
|
|
}); |
|
|
|
``` |
|
|
|
``` |
|
|
|