Skip to content

Commit 14daf27

Browse files
brigandryanflorence
authored andcommitted
fixed animation example, use this.context
Conflicts: examples/animations/app.js
1 parent 1d8c978 commit 14daf27

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/animations/app.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ var App = React.createClass({
1010
},
1111

1212
render: function () {
13-
var name = this.context.router.getCurrentRoutes().slice(0).reverse()[0].name;
14-
13+
var name = this.context.router.getCurrentPath();
1514
return (
1615
<div>
1716
<ul>

0 commit comments

Comments
 (0)