@stokr/components-library 2.3.41-beta.21 → 2.3.41-beta.23
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.
|
@@ -36,7 +36,7 @@ exports.Title = Title;
|
|
|
36
36
|
var Items = _styledComponents.default.ul.withConfig({
|
|
37
37
|
displayName: "FooterMenustyles__Items",
|
|
38
38
|
componentId: "sc-40ddqf-4"
|
|
39
|
-
})(["display:flex;
|
|
39
|
+
})(["display:flex;list-style:none;padding:0 24px;padding-bottom:24px;@media screen and (min-width:768px){justify-content:flex-start;}@media screen and (min-width:992px){display:block;padding:0;margin-top:22px;margin:0 -8px;width:224px;", "}@media screen and (max-width:992px){padding-top:15px;padding-left:0;padding-bottom:0;}"], function (props) {
|
|
40
40
|
return props.social && "\n margin-top: 14px;\n ";
|
|
41
41
|
});
|
|
42
42
|
exports.Items = Items;
|
|
@@ -655,34 +655,40 @@ var HeaderHoClass = /*#__PURE__*/function (_Component) {
|
|
|
655
655
|
},
|
|
656
656
|
onFormSend: /*#__PURE__*/function () {
|
|
657
657
|
var _ref9 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(_ref8) {
|
|
658
|
-
var email;
|
|
658
|
+
var email, payload;
|
|
659
659
|
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
660
660
|
while (1) switch (_context5.prev = _context5.next) {
|
|
661
661
|
case 0:
|
|
662
662
|
email = _ref8.email;
|
|
663
663
|
_this2.clearPopupError();
|
|
664
664
|
_this2.setIsActionLoading('forgot');
|
|
665
|
-
|
|
666
|
-
_context5.next = 6;
|
|
667
|
-
return (0, _auth.default)('forgotPass', {
|
|
665
|
+
payload = {
|
|
668
666
|
email: email
|
|
669
|
-
}
|
|
670
|
-
|
|
667
|
+
};
|
|
668
|
+
if (isResettingExpiredToken) {
|
|
669
|
+
console.log('isResettingExpiredToken: ', isResettingExpiredToken);
|
|
670
|
+
payload.ventureInvite = true;
|
|
671
|
+
}
|
|
672
|
+
console.log('payload obj: ', payload);
|
|
673
|
+
_context5.prev = 6;
|
|
674
|
+
_context5.next = 9;
|
|
675
|
+
return (0, _auth.default)('forgotPass', payload);
|
|
676
|
+
case 9:
|
|
671
677
|
_this2.setPopupSuccess('forgot', "We sent a message to ".concat(email, " (you might need to check your junk or spam folder) \u2014 tap the link inside to create a new password."));
|
|
672
678
|
_this2.setIsActionLoading(undefined);
|
|
673
|
-
_context5.next =
|
|
679
|
+
_context5.next = 18;
|
|
674
680
|
break;
|
|
675
|
-
case
|
|
676
|
-
_context5.prev =
|
|
677
|
-
_context5.t0 = _context5["catch"](
|
|
681
|
+
case 13:
|
|
682
|
+
_context5.prev = 13;
|
|
683
|
+
_context5.t0 = _context5["catch"](6);
|
|
678
684
|
console.log(_context5.t0);
|
|
679
685
|
_this2.setPopupError('forgot', 'This email is not registered.');
|
|
680
686
|
_this2.setIsActionLoading(undefined);
|
|
681
|
-
case
|
|
687
|
+
case 18:
|
|
682
688
|
case "end":
|
|
683
689
|
return _context5.stop();
|
|
684
690
|
}
|
|
685
|
-
}, _callee5, null, [[
|
|
691
|
+
}, _callee5, null, [[6, 13]]);
|
|
686
692
|
}));
|
|
687
693
|
return function (_x4) {
|
|
688
694
|
return _ref9.apply(this, arguments);
|