Skip to content

Commit

Permalink
fixed animation example, use this.context
Browse files Browse the repository at this point in the history
Conflicts:
	examples/animations/app.js
  • Loading branch information
brigand authored and ryanflorence committed Mar 21, 2015
1 parent 1d8c978 commit 14daf27
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/animations/app.js
Expand Up @@ -10,8 +10,7 @@ var App = React.createClass({
},

render: function () {
var name = this.context.router.getCurrentRoutes().slice(0).reverse()[0].name;

var name = this.context.router.getCurrentPath();
return (
<div>
<ul>
Expand Down

0 comments on commit 14daf27

Please sign in to comment.