contentoh-components-library 21.1.29 → 21.1.30

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.
@@ -31,70 +31,61 @@ RetailerProductEditionDefault.args = {
31
31
  "Ficha técnica": false,
32
32
  Imágenes: false
33
33
  },
34
- token: "eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiIwYjY2YTRhOS03NzkwLTQwMzQtYTMwYS1jMDA4MDg5NjI4NjciLCJjb2duaXRvOmdyb3VwcyI6WyJjb2xhYm9yYWRvcmVzX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfbFN6UVo0WjdSIiwiY29nbml0bzp1c2VybmFtZSI6IjBiNjZhNGE5LTc3OTAtNDAzNC1hMzBhLWMwMDgwODk2Mjg2NyIsImF1ZCI6IjUyZDlza2tkY2c4cWpwODhvb2sxdXNlNm1rIiwiZXZlbnRfaWQiOiJkMjc2ZGUwMy01YmM3LTRkZjEtYTk4MC1jYmYwYjkyOGU3MDEiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY1NjEwMDM2MSwibmFtZSI6IkNvbGFib3JhZG9yIiwicGhvbmVfbnVtYmVyIjoiKzUyMTExMSIsImV4cCI6MTY1NjEwMzk2MSwiaWF0IjoxNjU2MTAwMzYxLCJlbWFpbCI6ImJheWFkaTE1MzhAbW5xbG0uY29tIn0.WmbNT419c79ZIIZIxT8bW6YjSAvlGW_36cehBQWtdPPIeeRWO1ZVOkJeimGNm9dKwIVzdieg13mUPmJOcFZMQGtNoj4yOYOhSrQBEOg4Gr3Rv94RAEa-AcoFNns55Cl98krqF42qoYYeFRV9nH1iZrMU2sEML6kxwWgxAza5eXFie_MioMphXxMsWj3BT5Fmzk8SSHsAuf8jIjUTdGtFsNv2TOOU8YjTlljYij9cvLpu9Udlaj6tVnnElCcGskQk-U7QXqjHYDpOgeEkdWZU-Cy-vm4bT6qYCQHNtMxVCu_RZPpNm_p3vSWgkhj__baJsffhsb-PAETQKPTLuT690w",
35
- articleId: 238,
36
- category: 846,
37
- version: 2,
34
+ token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJjOTRhNzMwNS05MzY1LTQ2ZmYtYTQyMy00YjRiYzNiOGIxODAiLCJjb2duaXRvOmdyb3VwcyI6WyJjb2xhYm9yYWRvcmVzX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWE1aUWRxa0dqIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjp0cnVlLCJjb2duaXRvOnVzZXJuYW1lIjoiYzk0YTczMDUtOTM2NS00NmZmLWE0MjMtNGI0YmMzYjhiMTgwIiwiY29nbml0bzpyb2xlcyI6WyJhcm46YXdzOmlhbTo6ODk4NjcwMjMyODA3OnJvbGVcL2NvbnRlbnRvaC1kZXYtdXMtZWFzdC0xLWxhbWJkYVJvbGUiXSwiYXVkIjoiNWFjOHRwZ3M2Z2JzcTEzZnJ2cnBpZWVwNDAiLCJldmVudF9pZCI6ImExY2QwOGQ3LTM0MTgtNGI0ZC1hODNmLTJlOWE0N2E2ZTQzYSIsInRva2VuX3VzZSI6ImlkIiwiYXV0aF90aW1lIjoxNjU2Mzc1MzQ5LCJuYW1lIjoiQ29sYWJvcmFkb3IiLCJwaG9uZV9udW1iZXIiOiIrNTIxMTExIiwiZXhwIjoxNjU2Mzc4OTQ5LCJpYXQiOjE2NTYzNzUzNDksImVtYWlsIjoic2FsbWVyb24uNUBob3RtYWlsLmNvbSJ9.AXD7CR-3bJz6vIdBBNB_3xLfaTvlFjHi-cwKdN5qCUSY4msnf1a1RhMEThL3wt7fXi15dy5Fy5b_7zgkWc_NY35Otu1ifQNmSxemncx5qFsNsBH6OvIaZrhiw7XXkfQF20w22f4o8VFW1u0cWudFBYYm6tXlKVEetw-NEu94Mnip0BtQQUU6rFjz5hQM0gWYsvOMmSX3JKQWl4thirzTOqJxrKebFeWnUMs5D3hlFpKeBSKodgB6lLw2522SJmxWXmGCaDOVSMUP9LqB9PsboSOBfSeQpkbIZqd9iNWbrFCusGhnoRrQABucqFwlQ6KPHYTPaOOux-X3pf6i5woX4g",
38
35
  productSelected: {
39
36
  services: {
40
37
  datasheets: 1,
41
38
  descriptions: 1,
42
39
  images: 1
43
40
  },
44
- orderId: 1213,
45
- status: "AA",
46
- datasheet_status: "AA",
47
- prio: "low",
48
- version: 2,
49
- description_status: "AA",
50
- images_status: "AA",
41
+ orderId: 64,
42
+ status: "AF",
43
+ datasheet_status: "AF",
44
+ prio: "none",
45
+ version: 7,
46
+ description_status: "AF",
47
+ images_status: "AF",
51
48
  article: {
52
- id_article: 17517,
53
- id_category: "691",
54
- name: "Antitranspirante Lady Speed Stick Clinical Complete en Barra para Dama 45 g",
55
- upc: "7509546066172",
56
- timestamp: "2021-10-09T16:33:17.000Z",
57
- id_user: 203,
58
- status: "RECEPTION",
49
+ id_article: 35707,
50
+ id_category: "41",
51
+ name: "chetos",
52
+ upc: "1010101010",
53
+ timestamp: "2022-06-16T18:12:42.000Z",
54
+ id_user: 28,
55
+ status: "NULL",
59
56
  active: 1,
60
- company_id: 226,
61
- company_name: "Prueba Test S.A de C.V.",
62
- country: "null",
63
- id_order: 1213,
64
- id_datasheet_especialist: 334,
65
- id_datasheet_facilitator: 158,
66
- id_description_especialist: 334,
67
- id_description_facilitator: 158,
68
- id_images_especialist: 366,
69
- id_images_facilitator: 14,
70
- id_auditor: 94,
57
+ company_id: 1,
58
+ company_name: "COMPANY DEV",
59
+ country: "México",
60
+ id_order: 64,
61
+ id_datasheet_especialist: 54,
62
+ id_datasheet_facilitator: 52,
63
+ id_description_especialist: 54,
64
+ id_description_facilitator: 52,
65
+ id_images_especialist: 55,
66
+ id_images_facilitator: 53,
67
+ id_auditor: 30,
71
68
  id_recepcionist: null,
72
- category: "SALUD Y BELLEZA|CUIDADO CORPORAL|DESODORANTES CABALLERO Y DAMA",
73
- missingAttributes: 1,
74
- missingDescriptions: 0,
75
- missingImages: -4
69
+ category: "ABARROTES|BOTANAS, GOLOSINAS Y CHOCOLATES|BOTANAS",
70
+ missingAttributes: null,
71
+ missingDescriptions: null,
72
+ missingImages: null
76
73
  },
77
74
  retailers: [{
78
- id: 4,
79
- name: "Walmart Super y Superama",
80
- country: "México",
81
- id_region: 1,
82
- active: 1
83
- }, {
84
- id: 6,
85
- name: "HEB",
75
+ id: 3,
76
+ name: "Sam´s Club",
86
77
  country: "México",
87
78
  id_region: 1,
88
79
  active: 1
89
80
  }, {
90
- id: 29,
91
- name: "Farmacias del Ahorro",
81
+ id: 8,
82
+ name: "Fragua",
92
83
  country: "México",
93
84
  id_region: 1,
94
85
  active: 1
95
86
  }],
96
- country: "null",
97
- upc: "7509546066172"
87
+ country: "México",
88
+ upc: "1010101010"
98
89
  },
99
90
  location: {
100
91
  product: {
@@ -103,36 +94,36 @@ RetailerProductEditionDefault.args = {
103
94
  }
104
95
  },
105
96
  user: {
106
- id_user: 423,
107
- name: "Facilitador Textos",
108
- last_name: " ",
109
- email: "bayadi1538@mnqlm.com",
110
- position: "Tester",
97
+ id_user: 30,
98
+ name: "Admin",
99
+ last_name: "Ulises",
100
+ email: "salmeron.5@hotmail.com",
101
+ position: "Admin",
111
102
  telephone: null,
112
- country: null,
113
- id_company: 254,
114
- id_cognito: "0b66a4a9-7790-4034-a30a-c00808962867",
103
+ country: "México",
104
+ id_company: 2,
105
+ id_cognito: "c94a7305-9365-46ff-a423-4b4bc3b8b180",
115
106
  birth_Date: null,
116
107
  about_me: null,
117
108
  zip_code: null,
118
109
  address: null,
119
110
  job: null,
120
111
  id_stripe: null,
121
- id_role: 4,
112
+ id_role: 6,
122
113
  active: 1,
123
114
  is_retailer: 0,
124
- email_notify: null,
115
+ email_notify: 0,
125
116
  membership: {
126
- id: 750,
127
- start_date: "2022-01-07T21:32:54.000Z",
128
- end_date: "2023-01-07T21:32:54.000Z",
129
- planID: 6,
130
- plan: "prod_KvGd6YSTJyR3AP",
131
- name: "Plan Small",
132
- user_limit: "10",
133
- products_limit: "1000",
134
- type: "Enterprise"
117
+ id: 2,
118
+ start_date: "2021-11-05T02:35:12.000Z",
119
+ end_date: "2022-11-05T02:34:49.000Z",
120
+ planID: 1,
121
+ plan: "prod_KtkvuFFLpOdP6e",
122
+ name: "Plan Free",
123
+ user_limit: "1",
124
+ products_limit: "3",
125
+ type: "PyMES"
135
126
  },
136
- src: "https://content-management-profile-prod.s3.amazonaws.com/id-423/423.png?1656100361978"
127
+ src: "https://content-management-profile.s3.amazonaws.com/id-30/30.png?1656375350443"
137
128
  }
138
129
  };
@@ -142,8 +142,6 @@ var RetailerProductEdition = function RetailerProductEdition(_ref) {
142
142
  productSelected = _ref$productSelected === void 0 ? {} : _ref$productSelected,
143
143
  _ref$user = _ref.user,
144
144
  user = _ref$user === void 0 ? {} : _ref$user,
145
- _ref$location = _ref.location,
146
- location = _ref$location === void 0 ? {} : _ref$location,
147
145
  token = _ref.token;
148
146
 
149
147
  var _useState = (0, _react.useState)("Descripción"),
@@ -378,6 +376,7 @@ var RetailerProductEdition = function RetailerProductEdition(_ref) {
378
376
  saving = _useState70[0],
379
377
  setSaving = _useState70[1];
380
378
 
379
+ var isAuditor = user.id_role === 6;
381
380
  (0, _react.useEffect)(function () {
382
381
  checkAll && setSelectedImages(images.values);
383
382
  }, [checkAll]);
@@ -753,17 +752,16 @@ var RetailerProductEdition = function RetailerProductEdition(_ref) {
753
752
  articleId: product === null || product === void 0 ? void 0 : (_product$article10 = product.article) === null || _product$article10 === void 0 ? void 0 : _product$article10.id_article,
754
753
  articleData: updatedDatasheets
755
754
  };
756
- console.log(updatedDatasheets, "updatedDatasheets");
757
755
  if (product !== null && product !== void 0 && product.orderId) dataObject["orderId"] = product === null || product === void 0 ? void 0 : product.orderId;
758
- _context6.prev = 5;
759
- _context6.next = 8;
756
+ _context6.prev = 4;
757
+ _context6.next = 7;
760
758
  return _axios.default.put("".concat(process.env.REACT_APP_ARTICLE_DATA_ENDPOINT, "?datasheet=true&version=").concat(version), dataObject, {
761
759
  headers: {
762
760
  Authorization: token
763
761
  }
764
762
  });
765
763
 
766
- case 8:
764
+ case 7:
767
765
  setMessage("Fichas técnicas guardadas");
768
766
 
769
767
  if (productTemp.status === "ASSIGNED") {
@@ -773,20 +771,20 @@ var RetailerProductEdition = function RetailerProductEdition(_ref) {
773
771
  }
774
772
 
775
773
  loadData();
776
- _context6.next = 16;
774
+ _context6.next = 15;
777
775
  break;
778
776
 
779
- case 13:
780
- _context6.prev = 13;
781
- _context6.t0 = _context6["catch"](5);
777
+ case 12:
778
+ _context6.prev = 12;
779
+ _context6.t0 = _context6["catch"](4);
782
780
  console.log(_context6.t0);
783
781
 
784
- case 16:
782
+ case 15:
785
783
  case "end":
786
784
  return _context6.stop();
787
785
  }
788
786
  }
789
- }, _callee6, null, [[5, 13]]);
787
+ }, _callee6, null, [[4, 12]]);
790
788
  }));
791
789
 
792
790
  return function saveDatasheets() {
@@ -1546,6 +1544,88 @@ var RetailerProductEdition = function RetailerProductEdition(_ref) {
1546
1544
  (0, _react.useEffect)(function () {
1547
1545
  setSaving(loading);
1548
1546
  }, [loading]);
1547
+
1548
+ var validateAll = /*#__PURE__*/function () {
1549
+ var _ref14 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee13(result) {
1550
+ var evaluationArray, sendAll, conceptArray, productTemp;
1551
+ return _regenerator.default.wrap(function _callee13$(_context13) {
1552
+ while (1) {
1553
+ switch (_context13.prev = _context13.next) {
1554
+ case 0:
1555
+ _context13.prev = 0;
1556
+ setLoading(true);
1557
+ evaluationArray = [];
1558
+ sendAll = [];
1559
+ conceptArray = ["description", "datasheet", "images"];
1560
+ servicesData === null || servicesData === void 0 ? void 0 : servicesData.forEach(function (ret) {
1561
+ var _product$id_order;
1562
+
1563
+ var data = {
1564
+ articleId: product.article.id_article,
1565
+ orderId: (_product$id_order = product.id_order) !== null && _product$id_order !== void 0 ? _product$id_order : product.orderId,
1566
+ concept: ret.service,
1567
+ result: result,
1568
+ evalStatus: product["".concat(ret.service, "_status")],
1569
+ retailerId: ret.id_retailer
1570
+ };
1571
+ evaluationArray.push(_axios.default.put("".concat(process.env.REACT_APP_EVALUATION_ENDPOINT), data, {
1572
+ headers: {
1573
+ Authorization: token
1574
+ }
1575
+ }));
1576
+ });
1577
+ _context13.next = 8;
1578
+ return Promise.all(evaluationArray);
1579
+
1580
+ case 8:
1581
+ conceptArray === null || conceptArray === void 0 ? void 0 : conceptArray.forEach(function (concept) {
1582
+ var _product$id_order2;
1583
+
1584
+ var data = {
1585
+ articleId: product.article.id_article,
1586
+ orderId: (_product$id_order2 = product.id_order) !== null && _product$id_order2 !== void 0 ? _product$id_order2 : product.orderId,
1587
+ concept: concept,
1588
+ evalStatus: product["".concat(concept, "_status")]
1589
+ };
1590
+ sendAll.push(_axios.default.put("".concat(process.env.REACT_APP_SEND_EVAL), data, {
1591
+ headers: {
1592
+ Authorization: token
1593
+ }
1594
+ }));
1595
+ });
1596
+ _context13.next = 11;
1597
+ return Promise.all(sendAll);
1598
+
1599
+ case 11:
1600
+ productTemp = product;
1601
+ productTemp.status = "".concat(result, "A");
1602
+ productTemp.datasheet_status = productTemp.datasheet_status === "NA" ? "NA" : "".concat(result, "A");
1603
+ productTemp.description_status = productTemp.description_status === "NA" ? "NA" : "".concat(result, "A");
1604
+ productTemp.images_status = productTemp.images_status === "NA" ? "NA" : "".concat(result, "A");
1605
+ sessionStorage.setItem("productSelected", JSON.stringify(productTemp));
1606
+ setProduct(productTemp);
1607
+ loadData();
1608
+ _context13.next = 24;
1609
+ break;
1610
+
1611
+ case 21:
1612
+ _context13.prev = 21;
1613
+ _context13.t0 = _context13["catch"](0);
1614
+ console.log(_context13.t0);
1615
+
1616
+ case 24:
1617
+ case "end":
1618
+ return _context13.stop();
1619
+ }
1620
+ }
1621
+ }, _callee13, null, [[0, 21]]);
1622
+ }));
1623
+
1624
+ return function validateAll(_x7) {
1625
+ return _ref14.apply(this, arguments);
1626
+ };
1627
+ }();
1628
+
1549
1629
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
1550
1630
  headerTop: headerTop,
1551
1631
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_HeaderTop.HeaderTop, {
@@ -1610,7 +1690,36 @@ var RetailerProductEdition = function RetailerProductEdition(_ref) {
1610
1690
  }
1611
1691
  })]);
1612
1692
  },
1613
- showValidationButtons: approveRejectButtons() && (auditorAssigned() || userAssigned())
1693
+ showApproveRejectAll: isAuditor && servicesData.every(function (serv) {
1694
+ return ["RA", "AA", "AP", "AC", "AF"].includes(serv.status);
1695
+ }) && approveRejectButtons() && (auditorAssigned() || userAssigned()),
1696
+ showValidationButtons: approveRejectButtons() && (auditorAssigned() || userAssigned()),
1697
+ approveAll: function approveAll() {
1698
+ return validateAll("A");
1699
+ },
1700
+ rejectAll: function rejectAll() {
1701
+ validateAll("R");
1702
+ setMessage("Rechazado");
1703
+ setComponentsArray([/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
1704
+ src: _errorModal.default
1705
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
1706
+ text: "Agrega tu comentarios para enviar el rechazo",
1707
+ headerType: "input-name-header",
1708
+ color: "white"
1709
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.TagAndInput, {
1710
+ label: "Caja de Comentario",
1711
+ inputType: "textarea",
1712
+ inputId: "modal-commentary-box",
1713
+ index: 0,
1714
+ color: "white"
1715
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeneralButton.Button, {
1716
+ buttonType: "general-default-button",
1717
+ label: "Enviar comentario",
1718
+ onClick: function onClick(e) {
1719
+ return createComment(e, document.querySelector("#modal-commentary-box .ql-container .ql-editor > p").innerHTML, activeTab);
1720
+ }
1721
+ })]);
1722
+ }
1614
1723
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FullTabsMenu.FullTabsMenu, {
1615
1724
  tabsSections: tabsSections,
1616
1725
  status: retailerStatus,
@@ -1714,20 +1823,20 @@ var RetailerProductEdition = function RetailerProductEdition(_ref) {
1714
1823
  reviewed: crossComment
1715
1824
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeneralButton.Button, {
1716
1825
  buttonType: "circular-button accept-button",
1717
- onClick: /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee13() {
1718
- return _regenerator.default.wrap(function _callee13$(_context13) {
1826
+ onClick: /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee14() {
1827
+ return _regenerator.default.wrap(function _callee14$(_context14) {
1719
1828
  while (1) {
1720
- switch (_context13.prev = _context13.next) {
1829
+ switch (_context14.prev = _context14.next) {
1721
1830
  case 0:
1722
1831
  setCrossComment(true);
1723
1832
  commentRevised();
1724
1833
 
1725
1834
  case 2:
1726
1835
  case "end":
1727
- return _context13.stop();
1836
+ return _context14.stop();
1728
1837
  }
1729
1838
  }
1730
- }, _callee13);
1839
+ }, _callee14);
1731
1840
  }))
1732
1841
  })]
1733
1842
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeneralButton.Button, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentoh-components-library",
3
- "version": "21.1.29",
3
+ "version": "21.1.30",
4
4
  "dependencies": {
5
5
  "@aws-amplify/auth": "^4.5.3",
6
6
  "@aws-amplify/datastore": "^3.11.0",
@@ -9,9 +9,10 @@ export const ValidationPanel = ({
9
9
  setShowValidationPanel,
10
10
  approve,
11
11
  reject,
12
+ approveAll,
13
+ rejectAll,
12
14
  showApproveRejectAll,
13
15
  }) => {
14
- console.log(showApproveRejectAll);
15
16
  return (
16
17
  <Container id={id}>
17
18
  <button
@@ -36,7 +37,7 @@ export const ValidationPanel = ({
36
37
  <>
37
38
  <button
38
39
  onClick={() => {
39
- approve && approve();
40
+ approveAll && approveAll();
40
41
  }}
41
42
  className="validation-option"
42
43
  >
@@ -45,7 +46,7 @@ export const ValidationPanel = ({
45
46
  </button>
46
47
  <button
47
48
  onClick={() => {
48
- reject && reject();
49
+ rejectAll && rejectAll();
49
50
  }}
50
51
  className="validation-option"
51
52
  >
@@ -56,4 +57,4 @@ export const ValidationPanel = ({
56
57
  )}
57
58
  </Container>
58
59
  );
59
- };
60
+ };
@@ -15,6 +15,8 @@ export const AvatarAndValidation = ({
15
15
  showValidationButtons,
16
16
  approve,
17
17
  reject,
18
+ approveAll,
19
+ rejectAll,
18
20
  showApproveRejectAll,
19
21
  }) => {
20
22
  const [showValidationPanel, setShowValidationPanel] = useState(false);
@@ -63,9 +65,11 @@ export const AvatarAndValidation = ({
63
65
  setShowValidationPanel={setShowValidationPanel}
64
66
  approve={approve}
65
67
  reject={reject}
68
+ approveAll={approveAll}
69
+ rejectAll={rejectAll}
66
70
  showApproveRejectAll={showApproveRejectAll}
67
71
  />
68
72
  )}
69
73
  </Container>
70
74
  );
71
- };
75
+ };
@@ -13,6 +13,8 @@ export const FullProductNameHeader = ({
13
13
  showValidationButtons,
14
14
  approve,
15
15
  reject,
16
+ approveAll,
17
+ rejectAll,
16
18
  servicesData,
17
19
  showApproveRejectAll,
18
20
  }) => {
@@ -73,8 +75,10 @@ export const FullProductNameHeader = ({
73
75
  showApproveRejectAll={showApproveRejectAll}
74
76
  approve={approve}
75
77
  reject={reject}
78
+ approveAll={approveAll}
79
+ rejectAll={rejectAll}
76
80
  />
77
81
  </div>
78
82
  </Container>
79
83
  );
80
- };
84
+ };