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 6ac3a3f commit 2e8ddc3Copy full SHA for 2e8ddc3
packages/redux/src/products/serverInitialState/listings.ts
@@ -37,8 +37,9 @@ const serverInitialState: ProductListingsServerInitialState = ({
37
const hash = generateProductListingHash(builtSlug, query, {
38
isSet,
39
});
40
+ const referencedListing = get(model, 'relatedCommerceData.referencedListing');
41
- if (get(model, 'relatedCommerceData.referencedListing')) {
42
+ if (referencedListing && referencedListing.length) {
43
const {
44
breadCrumbs,
45
config,
0 commit comments