@mjhls/mjh-framework 1.0.1060 → 1.0.1061

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -602,9 +602,9 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
602
602
  );
603
603
  }
604
604
  } else if (article._type === 'lg-infeed' && article.adUnit) {
605
- return React__default["default"].createElement(ADlgInfeed.ADlgInfeed, _extends._extends({ index: index$1 }, article));
605
+ return React__default["default"].createElement(ADlgInfeed.ADlgInfeed, _extends._extends({ key: article._id ? article._id : index$1, index: index$1 }, article));
606
606
  } else if (article._type === 'brandInsightAd' && article.adUnit) {
607
- return React__default["default"].createElement(ADInfeed.ADInfeed, { index: index$1, infeedAd: article });
607
+ return React__default["default"].createElement(ADInfeed.ADInfeed, { key: article._id ? article._id : index$1, index: index$1, infeedAd: article });
608
608
  }
609
609
  if ((brandInsightAd ? index$1 > heroContent + featureCount : index$1 + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
610
610
  return React__default["default"].createElement(
@@ -1108,9 +1108,9 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
1108
1108
  );
1109
1109
  }
1110
1110
  } else if (article._type === 'lg-infeed' && article.adUnit) {
1111
- return React__default["default"].createElement(ADlgInfeed.ADlgInfeed, _extends._extends({ index: index$1 }, article));
1111
+ return React__default["default"].createElement(ADlgInfeed.ADlgInfeed, _extends._extends({ key: article._id ? article._id : index$1, index: index$1 }, article));
1112
1112
  } else if (article._type === 'brandInsightAd' && article.adUnit) {
1113
- return React__default["default"].createElement(ADInfeed.ADInfeed, { index: index$1, infeedAd: article });
1113
+ return React__default["default"].createElement(ADInfeed.ADInfeed, { key: article._id ? article._id : index$1, index: index$1, infeedAd: article });
1114
1114
  }
1115
1115
  if ((brandInsightAd ? index$1 > heroContent + featureCount : index$1 + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
1116
1116
  return React__default["default"].createElement(
@@ -596,9 +596,9 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
596
596
  );
597
597
  }
598
598
  } else if (article._type === 'lg-infeed' && article.adUnit) {
599
- return React__default.createElement(ADlgInfeed, _extends({ index: index }, article));
599
+ return React__default.createElement(ADlgInfeed, _extends({ key: article._id ? article._id : index, index: index }, article));
600
600
  } else if (article._type === 'brandInsightAd' && article.adUnit) {
601
- return React__default.createElement(ADInfeed, { index: index, infeedAd: article });
601
+ return React__default.createElement(ADInfeed, { key: article._id ? article._id : index, index: index, infeedAd: article });
602
602
  }
603
603
  if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
604
604
  return React__default.createElement(
@@ -1102,9 +1102,9 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
1102
1102
  );
1103
1103
  }
1104
1104
  } else if (article._type === 'lg-infeed' && article.adUnit) {
1105
- return React__default.createElement(ADlgInfeed, _extends({ index: index }, article));
1105
+ return React__default.createElement(ADlgInfeed, _extends({ key: article._id ? article._id : index, index: index }, article));
1106
1106
  } else if (article._type === 'brandInsightAd' && article.adUnit) {
1107
- return React__default.createElement(ADInfeed, { index: index, infeedAd: article });
1107
+ return React__default.createElement(ADInfeed, { key: article._id ? article._id : index, index: index, infeedAd: article });
1108
1108
  }
1109
1109
  if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
1110
1110
  return React__default.createElement(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.1060",
3
+ "version": "1.0.1061",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",