Thanks to visit codestin.com Credit goes to github.com
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 51f0e6f commit af1910fCopy full SHA for af1910f
src/state/fetch.js
@@ -7,7 +7,7 @@ import _ from 'lodash';
7
*/
8
export function fetchData(store, props) {
9
return Promise.all(props.components
10
- .filter(component => _.isFunction(component.fetchData))
+ .filter(component => component && _.isFunction(component.fetchData))
11
.map(component => component.fetchData({
12
store,
13
location: props.location,
0 commit comments