Skip to content

Commit 914f16a

Browse files
committed
Doc fix
1 parent ab66030 commit 914f16a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/utils/createRouter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ function createRouter(options) {
314314
},
315315

316316
/**
317-
* Starts this router and calls callback(state, router) when the route changes.
317+
* Starts this router and calls callback(router, state) when the route changes.
318318
*
319319
* If the router's location is static (i.e. a URL path in a server environment)
320320
* the callback is called only once. Otherwise, the location should be one of the

0 commit comments

Comments
 (0)