Skip to content

Commit 6c93099

Browse files
committed
we should not send the real routes array!
1 parent efe8755 commit 6c93099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/animations/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var App = React.createClass({
88
mixins: [ Router.State ],
99

1010
render: function () {
11-
var name = this.getRoutes().reverse()[0].name;
11+
var name = this.getRoutes().slice(0).reverse()[0].name;
1212

1313
return (
1414
<div>

0 commit comments

Comments
 (0)