Skip to content

Commit b4c3378

Browse files
authored
docs: fix typo
fix: typo in README (useRouter instead of userRouter)
2 parents b4695c1 + f939da1 commit b4c3378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@
312312
Using useRouter() hook.
313313

314314
```jsx
315-
const router = userRouter();
315+
const router = useRouter();
316316
317317
function handleClick() {
318318
router.push(`/path`);

0 commit comments

Comments
 (0)