Skip to content

Commit 151811f

Browse files
committed
fixed ActiveState mixin example
1 parent 1192682 commit 151811f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/mixins/ActiveState.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var Tab = React.createClass({
3939

4040
updateActiveState: function () {
4141
this.setState({
42-
isActive: Tab.isActive(routeName, params, query)
42+
isActive: Tab.isActive(this.props.to, this.props.params, this.props.query)
4343
})
4444
},
4545

0 commit comments

Comments
 (0)