Bug 1526066 - Add perf improvements, design refinements, and bug fixes to Activity Stream r=nanj

Differential Revision: https://phabricator.services.mozilla.com/D19152
This commit is contained in:
k88hudson
2019-02-08 18:08:10 +00:00
parent 311a4a38db
commit f1cf7c0206
325 changed files with 1092 additions and 730 deletions

View File

@@ -41,11 +41,11 @@ export const selectLayoutRender = createSelector(
// Loops through all the components and adds a .data property
// containing data from feeds
components: row.components.map(component => {
if (!component.feed || !feeds[component.feed.url]) {
if (!component.feed || !feeds.data[component.feed.url]) {
return component;
}
return {...component, data: maybeInjectSpocs(feeds[component.feed.url].data, component.spocs)};
return {...component, data: maybeInjectSpocs(feeds.data[component.feed.url].data, component.spocs)};
}),
}));
}