ywana-core8 0.1.37 → 0.1.38

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.cjs CHANGED
@@ -2580,7 +2580,6 @@ var ForgetUserPasswordAction = function ForgetUserPasswordAction(props) {
2580
2580
  var _temp = _catch$7(function () {
2581
2581
  var email = user.email;
2582
2582
  return Promise.resolve(onOK(email)).then(function () {
2583
- if (onSuccess) onSuccess();
2584
2583
  site.notify({
2585
2584
  title: /*#__PURE__*/React__default["default"].createElement(Text$1, null, "Forgot Password"),
2586
2585
  body: /*#__PURE__*/React__default["default"].createElement(Text$1, null, "Check your email to reset your password"),
@@ -2589,7 +2588,7 @@ var ForgetUserPasswordAction = function ForgetUserPasswordAction(props) {
2589
2588
  });
2590
2589
  }, function (error) {
2591
2590
  site.notify({
2592
- title: "Error",
2591
+ title: "Errorrrrr",
2593
2592
  body: error.message,
2594
2593
  type: "danger",
2595
2594
  icon: "error"
@@ -2607,8 +2606,7 @@ var ForgetUserPasswordAction = function ForgetUserPasswordAction(props) {
2607
2606
  icon = _props$icon === void 0 ? false : _props$icon,
2608
2607
  _props$label = props.label,
2609
2608
  label = _props$label === void 0 ? "Reset Password" : _props$label,
2610
- onOK = props.onOK,
2611
- onSuccess = props.onSuccess;
2609
+ onOK = props.onOK;
2612
2610
  return icon ? /*#__PURE__*/React__default["default"].createElement(Icon, {
2613
2611
  icon: "mail_lock",
2614
2612
  clickable: true,