mario-education 2.4.310-layout → 2.4.312-layout
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.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -44595,7 +44595,6 @@ var useSandbox = function useSandbox() {
|
|
|
44595
44595
|
};
|
|
44596
44596
|
|
|
44597
44597
|
var changeUser = function changeUser(data, isSandboxMode) {
|
|
44598
|
-
localStorage.clear();
|
|
44599
44598
|
var token = data.token,
|
|
44600
44599
|
id = data.id,
|
|
44601
44600
|
firstName = data.firstName,
|
|
@@ -44605,6 +44604,7 @@ var useSandbox = function useSandbox() {
|
|
|
44605
44604
|
profileImageFileName = data.profileImageFileName;
|
|
44606
44605
|
localStorage.setItem(marioCore.ACCESS_TOKEN, token);
|
|
44607
44606
|
localStorage.removeItem(marioCore.NOTIFICATION_ALERT_KEY);
|
|
44607
|
+
localStorage.removeItem("SESSION_TIME");
|
|
44608
44608
|
dispatch(marioCore.setUser({
|
|
44609
44609
|
id: id,
|
|
44610
44610
|
firstName: firstName,
|