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.
@@ -2571,7 +2571,6 @@ var ForgetUserPasswordAction = function ForgetUserPasswordAction(props) {
2571
2571
  var _temp = _catch$7(function () {
2572
2572
  var email = user.email;
2573
2573
  return Promise.resolve(onOK(email)).then(function () {
2574
- if (onSuccess) onSuccess();
2575
2574
  site.notify({
2576
2575
  title: /*#__PURE__*/React.createElement(Text$1, null, "Forgot Password"),
2577
2576
  body: /*#__PURE__*/React.createElement(Text$1, null, "Check your email to reset your password"),
@@ -2580,7 +2579,7 @@ var ForgetUserPasswordAction = function ForgetUserPasswordAction(props) {
2580
2579
  });
2581
2580
  }, function (error) {
2582
2581
  site.notify({
2583
- title: "Error",
2582
+ title: "Errorrrrr",
2584
2583
  body: error.message,
2585
2584
  type: "danger",
2586
2585
  icon: "error"
@@ -2598,8 +2597,7 @@ var ForgetUserPasswordAction = function ForgetUserPasswordAction(props) {
2598
2597
  icon = _props$icon === void 0 ? false : _props$icon,
2599
2598
  _props$label = props.label,
2600
2599
  label = _props$label === void 0 ? "Reset Password" : _props$label,
2601
- onOK = props.onOK,
2602
- onSuccess = props.onSuccess;
2600
+ onOK = props.onOK;
2603
2601
  return icon ? /*#__PURE__*/React.createElement(Icon, {
2604
2602
  icon: "mail_lock",
2605
2603
  clickable: true,