@teamias/pro-layout 0.0.20 → 0.0.21
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.
|
@@ -21,20 +21,25 @@ export var AvatarItem = function AvatarItem(_ref) {
|
|
|
21
21
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
22
22
|
while (1) switch (_context.prev = _context.next) {
|
|
23
23
|
case 0:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
24
|
+
_context.prev = 0;
|
|
25
|
+
_context.next = 3;
|
|
26
|
+
return onLogout();
|
|
27
|
+
case 3:
|
|
28
|
+
_context.next = 8;
|
|
29
|
+
break;
|
|
30
|
+
case 5:
|
|
31
|
+
_context.prev = 5;
|
|
32
|
+
_context.t0 = _context["catch"](0);
|
|
33
|
+
console.error(_context.t0);
|
|
34
|
+
case 8:
|
|
35
|
+
localStorage.clear();
|
|
36
|
+
sessionStorage.clear();
|
|
37
|
+
updateData({}, 'replace');
|
|
38
|
+
case 11:
|
|
34
39
|
case "end":
|
|
35
40
|
return _context.stop();
|
|
36
41
|
}
|
|
37
|
-
}, _callee);
|
|
42
|
+
}, _callee, null, [[0, 5]]);
|
|
38
43
|
}));
|
|
39
44
|
function onOk() {
|
|
40
45
|
return _onOk.apply(this, arguments);
|