Skip to content

Commit 5d45df0

Browse files
committed
Revert "fix: return placeholder if items empty"
This reverts commit 08fc244.
1 parent 21b3f02 commit 5d45df0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/containers/ContentfulLoader.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ class ContentfulLoader extends React.Component {
383383

384384
/* Some of the required data still pending to load: render a placeholder,
385385
* or nothing. */
386-
if (!data || _.isEmpty(Object.values(data.entries.items))) {
386+
if (!data) {
387387
return _.isFunction(Placeholder) ? <Placeholder /> : Placeholder;
388388
}
389389

0 commit comments

Comments
 (0)