Skip to content

Commit 90de581

Browse files
riophaeposva
authored andcommitted
fix example (#30)
1 parent c4ac88d commit 90de581

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: en/routing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default context => {
6767
const matchedComponents = router.getMatchedComponents()
6868
// no matched routes, reject with 404
6969
if (!matchedComponents.length) {
70-
reject({ code: 404 })
70+
return reject({ code: 404 })
7171
}
7272

7373
// the Promise should resolve to the app instance so it can be rendered

0 commit comments

Comments
 (0)