@stokr/components-library 2.0.0-beta.15 → 2.0.0-beta.16
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.
|
@@ -151,7 +151,7 @@ exports.UserAccount = UserAccount;
|
|
|
151
151
|
var UserButton = _styledComponents.default.button.withConfig({
|
|
152
152
|
displayName: "Headerstyles__UserButton",
|
|
153
153
|
componentId: "sc-hifrdy-16"
|
|
154
|
-
})(["display:inline-block;vertical-align:middle;width:48px;height:48px;border-radius:24px;overflow:hidden;background-color:", ";opacity:1;transition:opacity 0.2s;outline:none;cursor:pointer;box-shadow:none;border:none;background-color:buttonface;padding:0;"], _colors.default.grey2);
|
|
154
|
+
})(["display:inline-block;vertical-align:middle;width:48px;height:48px;border-radius:24px;overflow:hidden;background-color:", ";opacity:1;transition:opacity 0.2s;outline:none;cursor:pointer;box-shadow:none;border:none;background-color:buttonface;background-color:transparent;padding:0;"], _colors.default.grey2);
|
|
155
155
|
exports.UserButton = UserButton;
|
|
156
156
|
var UserAvatar = _styledComponents.default.img.withConfig({
|
|
157
157
|
displayName: "Headerstyles__UserAvatar",
|
|
@@ -435,10 +435,13 @@ var HeaderHoClass = /*#__PURE__*/function (_Component) {
|
|
|
435
435
|
_context2.next = 7;
|
|
436
436
|
return getUser();
|
|
437
437
|
case 7:
|
|
438
|
-
|
|
438
|
+
_this2.setOpenModalStatus('enter2fa', false);
|
|
439
|
+
_this2.clearPopupError();
|
|
440
|
+
_this2.setIsActionLoading(undefined);
|
|
441
|
+
_context2.next = 16;
|
|
439
442
|
break;
|
|
440
|
-
case
|
|
441
|
-
_context2.prev =
|
|
443
|
+
case 12:
|
|
444
|
+
_context2.prev = 12;
|
|
442
445
|
_context2.t0 = _context2["catch"](2);
|
|
443
446
|
console.log('🚀 ~ file: HeaderHo.jsx:364 ~ error:', _context2.t0);
|
|
444
447
|
if ((_context2.t0 === null || _context2.t0 === void 0 ? void 0 : _context2.t0.code) === 'auth/invalid-verification-code') {
|
|
@@ -446,13 +449,13 @@ var HeaderHoClass = /*#__PURE__*/function (_Component) {
|
|
|
446
449
|
} else {
|
|
447
450
|
_this2.setPopupError('enter2fa', _context2.t0 === null || _context2.t0 === void 0 ? void 0 : _context2.t0.message);
|
|
448
451
|
}
|
|
449
|
-
case
|
|
452
|
+
case 16:
|
|
450
453
|
_this2.setIsActionLoading(undefined);
|
|
451
|
-
case
|
|
454
|
+
case 17:
|
|
452
455
|
case "end":
|
|
453
456
|
return _context2.stop();
|
|
454
457
|
}
|
|
455
|
-
}, _callee2, null, [[2,
|
|
458
|
+
}, _callee2, null, [[2, 12]]);
|
|
456
459
|
}));
|
|
457
460
|
return function (_x2) {
|
|
458
461
|
return _ref5.apply(this, arguments);
|
|
Binary file
|