Skip to content

Commit 4247a3a

Browse files
authored
fix docs typo (#9009)
* fix docs typo fix docs typo which uses `revalidate` instead of `revalidator` * add bavardage to contributors.yml
1 parent fc345a0 commit 4247a3a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
- alexlbr
44
- avipatel97
55
- awreese
6+
- bavardage
67
- bhbs
78
- BrianT1414
89
- brockross

docs/hooks/use-revalidator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function useLivePageData() {
4343
let interval = useInterval(5000);
4444

4545
useEffect(() => {
46-
if (revalidate.state === "idle") {
46+
if (revalidator.state === "idle") {
4747
revalidator.revalidate();
4848
}
4949
}, [interval]);

0 commit comments

Comments
 (0)