Skip to content

Commit d97fba3

Browse files
committed
not using routerState
1 parent 9dd8258 commit d97fba3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

modules/experimental/AsyncProps.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ var contextTypes = {
66
asyncProps: shape({
77
reloadComponent: func,
88
propsArray: array,
9-
componentsArray: array,
10-
routerState: object
9+
componentsArray: array
1110
})
1211
};
1312

@@ -189,8 +188,7 @@ var AsyncProps = React.createClass({
189188
return {
190189
asyncProps: Object.assign({
191190
reloadComponent: this.reloadComponent,
192-
loading: this.state.previousProps !== null,
193-
routerState: this.state.previousProps || this.props
191+
loading: this.state.previousProps !== null
194192
}, this.state.asyncProps),
195193
};
196194
},

0 commit comments

Comments
 (0)