Skip to content

Commit 605970e

Browse files
authored
Update guard.md
Update grammar
1 parent 5a5c764 commit 605970e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/concept/guard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Suppose you have many shared local hooks.
2121
Instead of duplicating an existing hook, you can define a shared hook scope using `guard`.
2222

2323
---
24-
**Guard** lets you inject multiple life-cycle events into multiple routes at once. Guard is useful when you have listen to same life-cycle events in the multiple routes, for example: logging, schema validation, or error handling.
24+
**Guard** lets you inject multiple life-cycle events into multiple routes at once. Guard is useful when you have to listen to the same life-cycle event in multiple routes, for example: logging, schema validation, or error handling.
2525

2626
To encapsulate all hooks into the scope, instead of writing:
2727
```typescript

0 commit comments

Comments
 (0)