Skip to content

Commit 6898b2c

Browse files
committed
Fixing small tipo on the Transition Hooks docs
1 parent 5ce3b9f commit 6898b2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pipeline/hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ All transition hooks are considered asynchronous by default. In order to signal
6161

6262
### Returning Promise in Hooks
6363

64-
When you return a Promise in a transition hook, `transition.next` will be called for you when the Primise resolves. If the Promise is rejected during validation phase, it will call `transition.abort`; if it is rejected during activation phase, it will call `transition.next`.
64+
When you return a Promise in a transition hook, `transition.next` will be called for you when the Promise resolves. If the Promise is rejected during validation phase, it will call `transition.abort`; if it is rejected during activation phase, it will call `transition.next`.
6565

6666
For validation hooks (`canActivate` and `canDeactivate`), if the Promise's resolved value is falsy, it will also abort the transition.
6767

0 commit comments

Comments
 (0)