tf-checkout-react 1.0.90 → 1.0.91

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.
@@ -1338,6 +1338,12 @@ var LoginModal = function LoginModal(_ref) {
1338
1338
  error = _useState[0],
1339
1339
  setError = _useState[1];
1340
1340
 
1341
+ var handleForgotPassword = function handleForgotPassword() {
1342
+ if (typeof window !== 'undefined') {
1343
+ window.open(CONFIGS.BASE_URL + "/password-restore/");
1344
+ }
1345
+ };
1346
+
1341
1347
  return React__default.createElement(Modal, {
1342
1348
  open: true,
1343
1349
  onClose: onClose,
@@ -1516,7 +1522,11 @@ var LoginModal = function LoginModal(_ref) {
1516
1522
  className: "login-action-button"
1517
1523
  }, React__default.createElement("button", {
1518
1524
  type: "submit"
1519
- }, "Login"))));
1525
+ }, "Login")), React__default.createElement("div", {
1526
+ className: 'forgot-password'
1527
+ }, React__default.createElement("span", {
1528
+ onClick: handleForgotPassword
1529
+ }, "Forgot password?"))));
1520
1530
  }))));
1521
1531
  };
1522
1532