We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 433c3f1 commit 0af94a0Copy full SHA for 0af94a0
modules/mixins/AsyncState.js
@@ -94,7 +94,7 @@ var AsyncState = {
94
},
95
96
componentDidMount: function () {
97
- if (this.props.initialAsyncState || !this.constructor.getInitialAsyncState)
+ if (this.props.initialAsyncState || typeof this.constructor.getInitialAsyncState !== 'function')
98
return;
99
100
resolveAsyncState(
0 commit comments