@bigbinary/neeto-webhooks-frontend 1.6.24 → 1.6.25

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.
package/dist/index.js CHANGED
@@ -1277,10 +1277,7 @@ var AddWebhookPane = function AddWebhookPane(_ref) {
1277
1277
  }
1278
1278
  }
1279
1279
  }, function (_ref2) {
1280
- var dirty = _ref2.dirty,
1281
- isSubmitting = _ref2.isSubmitting,
1282
- isValid = _ref2.isValid,
1283
- setFieldValue = _ref2.setFieldValue;
1280
+ var setFieldValue = _ref2.setFieldValue;
1284
1281
  return isLoading ? /*#__PURE__*/React.createElement("div", {
1285
1282
  className: "flex items-center justify-center"
1286
1283
  }, /*#__PURE__*/React.createElement(Spinner, null)) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Pane.Body, null, /*#__PURE__*/React.createElement("div", {
@@ -1346,19 +1343,9 @@ var AddWebhookPane = function AddWebhookPane(_ref) {
1346
1343
  onClick: function onClick() {
1347
1344
  return handleClick(setFieldValue);
1348
1345
  }
1349
- }))), /*#__PURE__*/React.createElement(Pane.Footer, {
1350
- className: "flex gap-2"
1351
- }, /*#__PURE__*/React.createElement(ActionBlock, {
1352
- className: "space-x-3",
1346
+ }))), /*#__PURE__*/React.createElement(Pane.Footer, null, /*#__PURE__*/React.createElement(ActionBlock, {
1353
1347
  cancelButtonProps: {
1354
- onClick: onClose,
1355
- disabled: false,
1356
- label: t("neetoWebhooks.buttons.cancel")
1357
- },
1358
- submitButtonProps: {
1359
- label: t("neetoWebhooks.buttons.saveChanges"),
1360
- disabled: !dirty || !isValid,
1361
- loading: isSubmitting
1348
+ onClick: onClose
1362
1349
  }
1363
1350
  })));
1364
1351
  }));