diff --git a/docs/src/pages/use-click-outside.mdx b/docs/src/pages/use-click-outside.mdx
index d554869..99ccced 100644
--- a/docs/src/pages/use-click-outside.mdx
+++ b/docs/src/pages/use-click-outside.mdx
@@ -8,7 +8,7 @@ import ExportMetaInfo from '../components/export-meta-info';
-`useClickOutside` calls the callback you provide when a click event occurs outside the element associated with the returned ref
+`useClickOutside` calls the callback you provide when a click event occurs outside the element associated with the returned ref callback
### Usage
@@ -16,7 +16,7 @@ import ExportMetaInfo from '../components/export-meta-info';
import { useClickOutside } from 'foxact/use-click-outside';
function Component() {
- const ref = useClickOutside(() => {
+ const ref = useClickOutside(() => {
console.log('clicked outside the div');
});
return ...