contentoh-components-library 21.4.78 → 21.4.80
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.
|
@@ -162,7 +162,7 @@ var EditGroup = function EditGroup(_ref) {
|
|
|
162
162
|
_context.next = 3;
|
|
163
163
|
return _axios.default.post("".concat(process.env.REACT_APP_GROUPS_ENDPOINT, "/get"), {}, {
|
|
164
164
|
headers: {
|
|
165
|
-
Authorization:
|
|
165
|
+
Authorization: token
|
|
166
166
|
}
|
|
167
167
|
});
|
|
168
168
|
|
|
@@ -472,7 +472,7 @@ var EditGroup = function EditGroup(_ref) {
|
|
|
472
472
|
children: "Editar grupos"
|
|
473
473
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Button, {
|
|
474
474
|
className: "circular-button close-button",
|
|
475
|
-
onClick: handleCloseModal
|
|
475
|
+
onClick: handleCloseModal,
|
|
476
476
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
477
477
|
src: _close.default,
|
|
478
478
|
alt: "close icon"
|
package/package.json
CHANGED
|
@@ -67,7 +67,7 @@ export const EditGroup = ({ token }) => {
|
|
|
67
67
|
{},
|
|
68
68
|
{
|
|
69
69
|
headers: {
|
|
70
|
-
Authorization:
|
|
70
|
+
Authorization: token,
|
|
71
71
|
},
|
|
72
72
|
}
|
|
73
73
|
);
|
|
@@ -254,7 +254,7 @@ export const EditGroup = ({ token }) => {
|
|
|
254
254
|
<div className={`contentModal`}>
|
|
255
255
|
<div className="header">
|
|
256
256
|
<h2 className="title-edit">Editar grupos</h2>
|
|
257
|
-
<Button className={`circular-button close-button`} onClick={handleCloseModal
|
|
257
|
+
<Button className={`circular-button close-button`} onClick={handleCloseModal}>
|
|
258
258
|
<img src={close} alt="close icon" />
|
|
259
259
|
</Button>
|
|
260
260
|
</div>
|