contentoh-components-library 21.1.98 → 21.1.99

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.
@@ -175,11 +175,7 @@ ProviderProductEditionDefault.args = {
175
175
  }]
176
176
  }]
177
177
  },
178
- location: {
179
- state: {
180
- origin: "Contentoh"
181
- }
182
- },
178
+ location: {},
183
179
  user: {
184
180
  id_user: 1237,
185
181
  name: "The Home",
@@ -559,11 +559,14 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
559
559
  return getServices();
560
560
 
561
561
  case 6:
562
- if (!originProp) {
563
- setActiveRetailer(product !== null && product !== void 0 && product.retailers ? product === null || product === void 0 ? void 0 : product.retailers[0] : product === null || product === void 0 ? void 0 : product.retailersAvailable[0]);
564
- } // setActiveRetailer(product?.retailers[0]);
565
-
566
-
562
+ // if (!originProp) {
563
+ // setActiveRetailer(
564
+ // product?.retailers
565
+ // ? product?.retailers[0]
566
+ // : product?.retailersAvailable[0]
567
+ // );
568
+ // }
569
+ // setActiveRetailer(product?.retailers[0]);
567
570
  setImages({
568
571
  action: "init",
569
572
  init: services[2]
@@ -576,7 +579,7 @@ var ProviderProductEdition = function ProviderProductEdition(_ref) {
576
579
  });
577
580
  setLoading(false);
578
581
 
579
- case 11:
582
+ case 10:
580
583
  case "end":
581
584
  return _context2.stop();
582
585
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentoh-components-library",
3
- "version": "21.1.98",
3
+ "version": "21.1.99",
4
4
  "dependencies": {
5
5
  "@aws-amplify/auth": "^4.5.3",
6
6
  "@aws-amplify/datastore": "^3.11.0",
@@ -186,9 +186,7 @@ ProviderProductEditionDefault.args = {
186
186
  },
187
187
  ],
188
188
  },
189
- location: {
190
- state: { origin: "Contentoh" },
191
- },
189
+ location: {},
192
190
  user: {
193
191
  id_user: 1237,
194
192
  name: "The Home",
@@ -271,13 +271,13 @@ export const ProviderProductEdition = ({
271
271
  setServices(services);
272
272
  await getServices();
273
273
 
274
- if (!originProp) {
275
- setActiveRetailer(
276
- product?.retailers
277
- ? product?.retailers[0]
278
- : product?.retailersAvailable[0]
279
- );
280
- }
274
+ // if (!originProp) {
275
+ // setActiveRetailer(
276
+ // product?.retailers
277
+ // ? product?.retailers[0]
278
+ // : product?.retailersAvailable[0]
279
+ // );
280
+ // }
281
281
 
282
282
  // setActiveRetailer(product?.retailers[0]);
283
283
  setImages({ action: "init", init: services[2] });