Skip to content

Commit 735931f

Browse files
author
yook-gijun
committed
fix: sync docs with current code status
1 parent 3714e9a commit 735931f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/router/api/router/useBlockerHook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The `useBlocker` hook accepts a single _required_ argument, an option object:
2020
- Think of this function as telling the router if it should block the navigation, so returning `true` mean that it should block the navigation and `false` meaning that it should be allowed
2121

2222
```ts
23-
interface ShouldBlockFnLocation<...> {
23+
type ShouldBlockFnLocation<...> = {
2424
routeId: TRouteId
2525
fullPath: TFullPath
2626
pathname: string

0 commit comments

Comments
 (0)