Skip to content

Commit c96e34d

Browse files
committed
Do not trigger changes twice on mount
1 parent f61036d commit c96e34d

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

modules/mixins/ActiveState.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ var ActiveState = {
5252

5353
componentDidMount: function () {
5454
this.getActiveDelegate().addChangeListener(this.handleActiveStateChange);
55-
this.handleActiveStateChange();
5655
},
5756

5857
componentWillUnmount: function () {

modules/mixins/PathListener.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ var PathListener = {
5757

5858
componentDidMount: function () {
5959
PathStore.addChangeListener(this.handlePathChange);
60-
this.handlePathChange();
6160
},
6261

6362
componentWillUnmount: function () {

0 commit comments

Comments
 (0)