Skip to content

Commit

Permalink
Do not trigger changes twice on mount
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Sep 25, 2014
1 parent f61036d commit c96e34d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion modules/mixins/ActiveState.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ var ActiveState = {

componentDidMount: function () {
this.getActiveDelegate().addChangeListener(this.handleActiveStateChange);
this.handleActiveStateChange();
},

componentWillUnmount: function () {
Expand Down
1 change: 0 additions & 1 deletion modules/mixins/PathListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ var PathListener = {

componentDidMount: function () {
PathStore.addChangeListener(this.handlePathChange);
this.handlePathChange();
},

componentWillUnmount: function () {
Expand Down

0 comments on commit c96e34d

Please sign in to comment.