Skip to content

Commit d03b968

Browse files
committed
Remove broken method from flux.md documentation
This doesn't actually work. You should instead read path from `state` provided by `Router.run` in a callback, and fire your own custom action if you'd like.
1 parent d69f1c1 commit d03b968

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

docs/guides/flux.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@ To avoid this, you can do one of three things:
6565
var router;
6666
6767
module.exports = {
68-
getCurrentPath() {
69-
return router.getCurrentPath();
70-
},
71-
7268
makePath(to, params, query) {
7369
return router.makePath(to, params, query);
7470
},

0 commit comments

Comments
 (0)