contentoh-components-library 21.1.44 → 21.1.47

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.
@@ -208,6 +208,9 @@ export const ProviderProductEdition = ({
208
208
  const [modalViewTextArea, setModalViewTextArea] = useState(false);
209
209
  const [socketType, setSocketType] = useState(null);
210
210
  const [saving, setSaving] = useState(loading);
211
+ const [retailerStatus, setRetailerStatus] = useState(
212
+ product.statusByRetailer
213
+ );
211
214
 
212
215
  useEffect(() => {
213
216
  checkAll && setSelectedImages(images.values);
@@ -233,11 +236,8 @@ export const ProviderProductEdition = ({
233
236
  );
234
237
  }
235
238
 
236
- //setActiveRetailer(product?.retailers[0]);
237
- setImages({
238
- action: "init",
239
- init: services[2],
240
- });
239
+ // setActiveRetailer(product?.retailers[0]);
240
+ setImages({ action: "init", init: services[2] });
241
241
  if (services[2]?.values?.length > 0) setActiveImage(0);
242
242
 
243
243
  getPercentage({ data: [product] }).then((res) => setPercentages(res));
@@ -256,10 +256,11 @@ export const ProviderProductEdition = ({
256
256
  }&end=true`
257
257
  );
258
258
  const parsedResponse = JSON.parse(servicesResponse?.data?.body).data;
259
+ const retailerResponse = parsedResponse?.map((srv) => srv.id_retailer);
259
260
  let retailers = product.retailers || product.retailersAvailable;
260
- let active = retailers?.filter((retailer) =>
261
- parsedResponse?.map((srv) => srv.id_retailer).includes(retailer.id)
262
- )[0];
261
+ let active = retailers?.find((retailer) =>
262
+ retailerResponse.includes(retailer.id)
263
+ );
263
264
  !activeRetailer.id && setActiveRetailer(active ? active : retailers[0]);
264
265
  setServicesData(parsedResponse);
265
266
  }
@@ -280,15 +281,15 @@ export const ProviderProductEdition = ({
280
281
  if (revision && currentService === "AP") return true;
281
282
  } else {
282
283
  const { product } = productEdit;
283
- if (
284
- orgn === "Contentoh" ||
285
- (["RECEIVED", "IN_PROGRESS"].includes(currentService) &&
286
- orgn === "RequestWithoutContentoh") ||
287
- (currentService === "AA" && orgn === "RequestWithContentoh") ||
288
- (currentService === "RC" &&
289
- orgn === "RequestWithoutContentoh" &&
290
- (!product.id_order || !product.orderId))
291
- )
284
+ const isRequestWithoutContentoh =
285
+ orgn === "RequestWithoutContentoh" &&
286
+ (["R", "CA"].includes(currentService) ||
287
+ (currentService === "RCA" &&
288
+ (!product.id_order || !product.orderId)));
289
+ const isRequestWithContentoh =
290
+ orgn === "RequestWithContentoh" && currentService === "AA";
291
+ const isContentoh = orgn === "Contentoh" && currentService === "AA";
292
+ if (isContentoh || isRequestWithoutContentoh || isRequestWithContentoh)
292
293
  return true;
293
294
  }
294
295
  }
@@ -305,26 +306,26 @@ export const ProviderProductEdition = ({
305
306
  setInCart(arr.some((e) => e.articleId === product.id_article));
306
307
  };
307
308
 
308
- useEffect(async () => {
309
+ useEffect(() => {
309
310
  sessionStorage.setItem("user", JSON.stringify(user));
310
311
  loadData();
311
312
  getCart();
312
- setUserGroups(await fetchUsers(token));
313
+ fetchUsers(token).then((res) => setUserGroups(res));
313
314
  let arr = [];
315
+ // ?? Que sentido tiene verificar los roles de colaborador en la app de proveedor
314
316
  switch (user.id_role) {
315
317
  case 7:
316
318
  case 8:
317
- arr = ["IN_PROGRESS", "RF", "RA"];
319
+ arr = ["CA", "RC", "RA"];
318
320
  break;
319
321
  case 4:
320
322
  case 5:
321
- arr = ["RF", "AF", "AA", "AP", "AC"];
323
+ arr = ["RC", "AC", "AA", "AP", "ACA"];
322
324
  break;
323
325
  case 6:
324
- arr = ["RP", "RC", "AF"];
326
+ arr = ["RP", "RCA", "AC"];
325
327
  break;
326
328
  default:
327
- arr = [];
328
329
  break;
329
330
  }
330
331
  setStatusArray(arr);
@@ -342,9 +343,9 @@ export const ProviderProductEdition = ({
342
343
  const productTemp = product;
343
344
  const retailers = productTemp?.retailersAvailable || productTemp?.retailers;
344
345
  retailers?.forEach((retailer) => {
345
- retailer["percentage"] = percentages?.filter(
346
+ retailer["percentage"] = percentages?.find(
346
347
  (percent) => retailer?.id === percent?.id_retailer
347
- )[0]?.percentage;
348
+ )?.percentage;
348
349
  });
349
350
 
350
351
  setProduct(productTemp);
@@ -420,7 +421,7 @@ export const ProviderProductEdition = ({
420
421
  };
421
422
  if (product?.orderId) dataObject["orderId"] = product?.orderId;
422
423
  try {
423
- await axios.put(
424
+ const res = await axios.put(
424
425
  `${process.env.REACT_APP_ARTICLE_DATA_ENDPOINT}?description=true&version=${version}`,
425
426
  dataObject,
426
427
  {
@@ -429,8 +430,10 @@ export const ProviderProductEdition = ({
429
430
  },
430
431
  }
431
432
  );
432
- setMessage("Descripciones guardadas con éxito");
433
- loadData();
433
+ if (res.data.statusCode === 200) {
434
+ setMessage("Descripciones guardadas con éxito");
435
+ await loadData();
436
+ }
434
437
  } catch (error) {
435
438
  console.log(error);
436
439
  }
@@ -453,8 +456,10 @@ export const ProviderProductEdition = ({
453
456
  },
454
457
  }
455
458
  );
456
- setMessage("Fichas técnicas guardadas");
457
- loadData();
459
+ if (res.data.statusCode === 200) {
460
+ setMessage("Fichas técnicas guardadas");
461
+ await loadData();
462
+ }
458
463
  } catch (error) {
459
464
  console.log(error);
460
465
  }
@@ -552,7 +557,7 @@ export const ProviderProductEdition = ({
552
557
  return e;
553
558
  });
554
559
  try {
555
- await axios.put(
560
+ const res = await axios.put(
556
561
  `${process.env.REACT_APP_ARTICLE_DATA_ENDPOINT}?image=true&version=${version}`,
557
562
  dataImages,
558
563
  {
@@ -561,9 +566,11 @@ export const ProviderProductEdition = ({
561
566
  },
562
567
  }
563
568
  );
564
- setMessage("Imágenes guardadas con éxito");
565
- sessionStorage.removeItem("imagesList");
566
- loadData();
569
+ if (res.data.statusCode === 200) {
570
+ setMessage("Imágenes guardadas con éxito");
571
+ sessionStorage.removeItem("imagesList");
572
+ await loadData();
573
+ }
567
574
  } catch (error) {
568
575
  console.log(error);
569
576
  }
@@ -665,12 +672,12 @@ export const ProviderProductEdition = ({
665
672
  },
666
673
  ],
667
674
  concept: concept,
668
- [`${assignationType}Id`]: assignationId,
675
+ userId: assignationId,
669
676
  };
670
- axios({
677
+ await axios({
671
678
  method: "post",
672
679
  url: process.env.REACT_APP_ASSIGNATIONS_ENDPOINT,
673
- data: data,
680
+ data,
674
681
  headers: {
675
682
  Authorization: token,
676
683
  },
@@ -688,7 +695,7 @@ export const ProviderProductEdition = ({
688
695
  serv = serv.filter((f) => f.id_retailer === activeRetailer.id);
689
696
  }
690
697
  const statusArray =
691
- user.is_retailer === 1 ? ["AC", "RC"] : ["AP", "RP", "AC"];
698
+ user.is_retailer === 1 ? ["ACA", "RCA"] : ["AP", "RP", "ACA"];
692
699
  return (
693
700
  serv.length > 0 && serv.every((item) => statusArray.includes(item.status))
694
701
  );
@@ -791,7 +798,7 @@ export const ProviderProductEdition = ({
791
798
  const { datasheet_status, description_status, images_status } = product;
792
799
  const completionStates =
793
800
  user.is_retailer === 1
794
- ? ["AC", "Evaluated", "NS"]
801
+ ? ["ACA", "Evaluated", "NS"]
795
802
  : ["AP", "Evaluated", "NS"];
796
803
  const dsEvaluated = completionStates.includes(datasheet_status);
797
804
  const descsEvaluated = completionStates.includes(description_status);
@@ -804,54 +811,66 @@ export const ProviderProductEdition = ({
804
811
 
805
812
  const sendEvaluation = async (result) => {
806
813
  setLoading(true);
807
- let data = {};
814
+ const concept = getConcept(activeTab);
815
+ const productTemp = product;
816
+ const articleId = productTemp.id_article;
817
+ const orderId = productTemp.id_order ?? productTemp.orderId;
818
+ const evalStatus =
819
+ product[`${getConcept(activeTab)}_status`] || product?.version_status;
820
+ let data = { articleId, orderId, concept, evalStatus };
808
821
  const retailerId = activeRetailer?.id;
809
- if (result) {
810
- data = {
811
- articleId: product.id_article,
812
- orderId: product.id_order ?? product.orderId,
813
- concept: getConcept(activeTab),
814
- result: result,
815
- retailerId,
816
- };
817
- await axios.put(`${process.env.REACT_APP_EVALUATION_ENDPOINT}`, data, {
818
- headers: {
819
- Authorization: token,
820
- },
821
- });
822
- } else {
823
- const productTemp = product;
824
- const concept = getConcept(activeTab);
825
- productTemp[`${concept}_status`] = "Evaluated";
826
- data = {
827
- articleId: product.id_article,
828
- orderId: product.id_order ?? product.orderId,
829
- concept,
830
- };
831
- axios.put(`${process.env.REACT_APP_SEND_EVAL}`, data, {
832
- headers: {
833
- Authorization: token,
834
- },
835
- });
836
- setProduct(productTemp);
837
- sessionStorage.setItem("productSelected", JSON.stringify(productTemp));
838
- setProductEdit({
839
- ArticleId: productTemp.id_article,
840
- idCategory: productTemp.article.id_category,
841
- product: productTemp,
842
- });
843
- sessionStorage.setItem(
844
- "productEdit",
845
- JSON.stringify({
846
- ArticleId: productTemp.id_article,
822
+ let res;
823
+ try {
824
+ if (result) {
825
+ data.result = result;
826
+ data.retailerId = retailerId;
827
+ res = await axios.put(
828
+ `${process.env.REACT_APP_EVALUATION_ENDPOINT}`,
829
+ data,
830
+ {
831
+ headers: {
832
+ Authorization: token,
833
+ },
834
+ }
835
+ );
836
+ const orderStatus = JSON.parse(res.data.body).newOrderStatus;
837
+ showSurvey && showSurvey(orderStatus[orderId] === "AP");
838
+ } else {
839
+ res = await axios.put(`${process.env.REACT_APP_SEND_EVAL}`, data, {
840
+ headers: {
841
+ Authorization: token,
842
+ },
843
+ });
844
+ }
845
+ if (res.data.statusCode === 200) {
846
+ const { newArticleStatus, newServiceStatus, newStatus } = JSON.parse(
847
+ res.data.body
848
+ );
849
+ if (newArticleStatus) productTemp.status = newArticleStatus[articleId];
850
+ const retailerStatusCopy = { ...retailerStatus };
851
+ retailerStatusCopy[activeRetailer.id][concept] = newStatus;
852
+ setRetailerStatus(retailerStatusCopy);
853
+ productTemp.statusByRetailer = retailerStatusCopy;
854
+ let status;
855
+ if (newServiceStatus) {
856
+ status = newServiceStatus[articleId][`${concept}Status`];
857
+ productTemp[`${concept}_status`] = status;
858
+ }
859
+ setProduct(productTemp);
860
+ sessionStorage.setItem("productSelected", JSON.stringify(productTemp));
861
+ const newProductEdit = {
862
+ ArticleId: articleId,
847
863
  idCategory: productTemp.article.id_category,
848
864
  product: productTemp,
849
- })
850
- );
851
- setOrigin((prev) => ({ ...prev, [concept]: "Evaluated" }));
865
+ };
866
+ setProductEdit(newProductEdit);
867
+ sessionStorage.setItem("productEdit", JSON.stringify(newProductEdit));
868
+ setOrigin((prev) => ({ ...prev, [concept]: status }));
869
+ await loadData();
870
+ }
871
+ } catch (err) {
872
+ console.log(err);
852
873
  }
853
- loadData();
854
- showSurvey && showSurvey(confirmStatusComplete());
855
874
  };
856
875
 
857
876
  const validateAll = async (result) => {
@@ -897,13 +916,24 @@ export const ProviderProductEdition = ({
897
916
 
898
917
  await Promise.all(sendAll);
899
918
  const productTemp = product;
900
- productTemp.article_status = `${result}C`;
919
+ productTemp.article_status = `${result}CA`;
901
920
  productTemp.datasheet_status =
902
- productTemp.datasheet_status === "NA" ? "NA" : `${result}C`;
921
+ productTemp.datasheet_status === "NA" ? "NA" : `${result}CA`;
903
922
  productTemp.description_status =
904
- productTemp.description_status === "NA" ? "NA" : `${result}C`;
923
+ productTemp.description_status === "NA" ? "NA" : `${result}CA`;
905
924
  productTemp.images_status =
906
- productTemp.images_status === "NA" ? "NA" : `${result}C`;
925
+ productTemp.images_status === "NA" ? "NA" : `${result}CA`;
926
+
927
+ const retailerStatusCopy = { ...retailerStatus };
928
+ Object.keys(retailerStatusCopy).forEach((key) => {
929
+ conceptArray.forEach((concept) => {
930
+ if (retailerStatusCopy[key][concept]) {
931
+ retailerStatusCopy[key][concept] = `${result}CA`;
932
+ }
933
+ });
934
+ });
935
+ setRetailerStatus(retailerStatusCopy);
936
+ productTemp.statusByRetailer = retailerStatusCopy;
907
937
  setProduct(productTemp);
908
938
  sessionStorage.setItem("productSelected", JSON.stringify(productTemp));
909
939
  setProductEdit({
@@ -920,7 +950,7 @@ export const ProviderProductEdition = ({
920
950
  })
921
951
  );
922
952
 
923
- loadData();
953
+ await loadData();
924
954
  } catch (error) {
925
955
  console.log(error);
926
956
  }
@@ -941,7 +971,7 @@ export const ProviderProductEdition = ({
941
971
  },
942
972
  });
943
973
  const prod = productEdit;
944
- const statusComplete = user.is_retailer ? `${result}C` : `${result}P`;
974
+ const statusComplete = user.is_retailer ? `${result}CA` : `${result}P`;
945
975
  prod.product.datasheet_status = statusComplete;
946
976
  prod.product.description_status = statusComplete;
947
977
  prod.product.images_status = statusComplete;
@@ -950,24 +980,22 @@ export const ProviderProductEdition = ({
950
980
  sessionStorage.setItem("productEdit", JSON.stringify(prod));
951
981
  setProduct(prod);
952
982
  setShowGenericModal && setShowGenericModal(false);
953
- loadData();
983
+ await loadData();
954
984
  };
955
985
 
956
986
  const getSectionStatus = () => {
957
987
  const concept = getConcept(activeTab);
958
- return ["AA", "AP", "RECEIVED", "IN_PROGRESS", "RC"].includes(
988
+ return ["AA", "AP", "R", "CA", "RCA"].includes(
959
989
  productEdit.product[`${concept}_status`]
960
990
  );
961
991
  };
962
992
 
963
993
  const enableActions = (versionStatus) => {
964
994
  try {
965
- const userIsRetailer = user.is_retailer;
966
-
967
- if (userIsRetailer) return false;
995
+ if (user.is_retailer) return false;
968
996
 
969
997
  if (versionStatus) {
970
- return ["AP", "AC", "RC", null].includes(versionStatus);
998
+ return ["AP", "ACA", "RCA", null].includes(versionStatus);
971
999
  }
972
1000
  return true;
973
1001
  } catch (err) {
@@ -1057,23 +1085,21 @@ export const ProviderProductEdition = ({
1057
1085
  },
1058
1086
  }));
1059
1087
  setShowGenericModal(true);
1060
- } else {
1061
- if (user.is_retailer) {
1062
- if (product.id_order || product.orderId) {
1063
- validateAll("A");
1064
- } else {
1065
- setDataGenericModal((prev) => ({
1066
- ...prev,
1067
- button2: {
1068
- name: "Continuar",
1069
- action: () => evaluationToRetailer("A"),
1070
- },
1071
- }));
1072
- setShowGenericModal(true);
1073
- }
1074
- } else {
1088
+ } else if (user.is_retailer) {
1089
+ if (product.id_order || product.orderId) {
1075
1090
  validateAll("A");
1091
+ } else {
1092
+ setDataGenericModal((prev) => ({
1093
+ ...prev,
1094
+ button2: {
1095
+ name: "Continuar",
1096
+ action: () => evaluationToRetailer("A"),
1097
+ },
1098
+ }));
1099
+ setShowGenericModal(true);
1076
1100
  }
1101
+ } else {
1102
+ validateAll("A");
1077
1103
  }
1078
1104
  }}
1079
1105
  rejectAll={() => {
@@ -1083,25 +1109,23 @@ export const ProviderProductEdition = ({
1083
1109
  (!product.id_order || !product.orderId)
1084
1110
  ) {
1085
1111
  return;
1086
- } else {
1087
- if (user.is_retailer) {
1088
- if (product.id_order || product.orderId) {
1089
- validateAll("R");
1090
- setModalViewError(true);
1091
- } else {
1092
- setDataGenericModal((prev) => ({
1093
- ...prev,
1094
- button2: {
1095
- name: "Continuar",
1096
- action: () => evaluationToRetailer("R"),
1097
- },
1098
- }));
1099
- setShowGenericModal(true);
1100
- }
1101
- } else {
1112
+ } else if (user.is_retailer) {
1113
+ if (product.id_order || product.orderId) {
1102
1114
  validateAll("R");
1103
1115
  setModalViewError(true);
1116
+ } else {
1117
+ setDataGenericModal((prev) => ({
1118
+ ...prev,
1119
+ button2: {
1120
+ name: "Continuar",
1121
+ action: () => evaluationToRetailer("R"),
1122
+ },
1123
+ }));
1124
+ setShowGenericModal(true);
1104
1125
  }
1126
+ } else {
1127
+ validateAll("R");
1128
+ setModalViewError(true);
1105
1129
  }
1106
1130
  }}
1107
1131
  approve={() => {
@@ -1118,23 +1142,21 @@ export const ProviderProductEdition = ({
1118
1142
  },
1119
1143
  }));
1120
1144
  setShowGenericModal(true);
1121
- } else {
1122
- if (user.is_retailer) {
1123
- if (product.id_order || product.orderId) {
1124
- sendEvaluation("A");
1125
- } else {
1126
- setDataGenericModal((prev) => ({
1127
- ...prev,
1128
- button2: {
1129
- name: "Continuar",
1130
- action: () => evaluationToRetailer("A"),
1131
- },
1132
- }));
1133
- setShowGenericModal(true);
1134
- }
1135
- } else {
1145
+ } else if (user.is_retailer) {
1146
+ if (product.id_order || product.orderId) {
1136
1147
  sendEvaluation("A");
1148
+ } else {
1149
+ setDataGenericModal((prev) => ({
1150
+ ...prev,
1151
+ button2: {
1152
+ name: "Continuar",
1153
+ action: () => evaluationToRetailer("A"),
1154
+ },
1155
+ }));
1156
+ setShowGenericModal(true);
1137
1157
  }
1158
+ } else {
1159
+ sendEvaluation("A");
1138
1160
  }
1139
1161
  }}
1140
1162
  reject={() => {
@@ -1144,33 +1166,33 @@ export const ProviderProductEdition = ({
1144
1166
  (!product.id_order || !product.orderId)
1145
1167
  ) {
1146
1168
  return;
1147
- } else {
1148
- if (user.is_retailer) {
1149
- if (product.id_order || product.orderId) {
1150
- sendEvaluation("R");
1151
- setModalViewError(true);
1152
- } else {
1153
- setDataGenericModal((prev) => ({
1154
- ...prev,
1155
- button2: {
1156
- name: "Continuar",
1157
- action: () => evaluationToRetailer("R"),
1158
- },
1159
- }));
1160
- setShowGenericModal(true);
1161
- }
1162
- } else {
1169
+ } else if (user.is_retailer) {
1170
+ if (product.id_order || product.orderId) {
1163
1171
  sendEvaluation("R");
1164
1172
  setModalViewError(true);
1173
+ } else {
1174
+ setDataGenericModal((prev) => ({
1175
+ ...prev,
1176
+ button2: {
1177
+ name: "Continuar",
1178
+ action: () => evaluationToRetailer("R"),
1179
+ },
1180
+ }));
1181
+ setShowGenericModal(true);
1165
1182
  }
1183
+ } else {
1184
+ sendEvaluation("R");
1185
+ setModalViewError(true);
1166
1186
  }
1167
1187
  }}
1168
1188
  />
1169
1189
  <FullTabsMenu
1170
1190
  tabsSections={tabsSections}
1171
1191
  status={
1172
- product[`${getConcept(activeTab)}_status`] ||
1173
- product?.version_status
1192
+ activeRetailer.id
1193
+ ? retailerStatus[activeRetailer?.id][getConcept(activeTab)] ||
1194
+ "NS"
1195
+ : "-"
1174
1196
  }
1175
1197
  activeTab={activeTab}
1176
1198
  setActiveTab={setActiveTab}
@@ -1313,56 +1335,44 @@ export const ProviderProductEdition = ({
1313
1335
  />
1314
1336
  </div>
1315
1337
  )}
1316
- <Button
1317
- buttonType={
1318
- evaluationComplete(activeTab) &&
1319
- (productEdit.product.id_order || productEdit.product.orderId)
1320
- ? "general-green-button"
1321
- : "general-button-disabled"
1322
- }
1323
- label={"Enviar evaluación"}
1324
- onClick={() => {
1325
- //setModalSent(true);
1326
- sendEvaluation();
1327
- setMessage(`¡Evaluación de ${activeTab} completada!`);
1328
- }}
1329
- />
1330
1338
  </div>
1331
- ) : revision ? null : (
1332
- <div className="required-inputs-message">
1333
- <div>
1334
- <p>
1335
- Los atributos son requeridos por las plataformas de las
1336
- cadenas, es muy importante completar los campos requeridos ya
1337
- que pueden rechazar el producto por falta de información.
1338
- </p>
1339
+ ) : (
1340
+ !revision && (
1341
+ <div className="required-inputs-message">
1342
+ <div>
1343
+ <p>
1344
+ Los atributos son requeridos por las plataformas de las
1345
+ cadenas, es muy importante completar los campos requeridos
1346
+ ya que pueden rechazar el producto por falta de información.
1347
+ </p>
1348
+ </div>
1349
+ {inCart ? (
1350
+ <button type="button">
1351
+ <Link to="/checkout">
1352
+ <p>Articulo en carrito</p>
1353
+ <p>Ir a checkout</p>
1354
+ </Link>
1355
+ </button>
1356
+ ) : (
1357
+ <>
1358
+ <SliderToolTip
1359
+ infoIcon={InfoIcon}
1360
+ slidefront={slidefront}
1361
+ iconSize={"big-image"}
1362
+ slidePosition={"top-slide"}
1363
+ />
1364
+ <Button
1365
+ onClick={() => {
1366
+ setShowContentohRequestModal &&
1367
+ setShowContentohRequestModal(true);
1368
+ }}
1369
+ buttonType="general-default-button"
1370
+ label="Enviar a Content-oh!"
1371
+ />
1372
+ </>
1373
+ )}
1339
1374
  </div>
1340
- {inCart ? (
1341
- <button type="button">
1342
- <Link to="/checkout">
1343
- <p>Articulo en carrito</p>
1344
- <p>Ir a checkout</p>
1345
- </Link>
1346
- </button>
1347
- ) : (
1348
- <>
1349
- <SliderToolTip
1350
- infoIcon={InfoIcon}
1351
- slidefront={slidefront}
1352
- iconSize={"big-image"}
1353
- slidePosition={"top-slide"}
1354
- ></SliderToolTip>
1355
- <Button
1356
- onClick={() => {
1357
- setShowContentohRequestModal &&
1358
- setShowContentohRequestModal(true);
1359
- }}
1360
- buttonType="general-default-button"
1361
- label="Enviar a Content-oh!"
1362
- />
1363
- </>
1364
- )}
1365
- </div>
1375
+ )
1366
1376
  )}
1367
1377
  </div>
1368
1378
  </div>
@@ -1441,4 +1451,4 @@ export const ProviderProductEdition = ({
1441
1451
  )}
1442
1452
  </Container>
1443
1453
  );
1444
- };
1454
+ };