ublo-lib 1.19.11 → 1.19.13
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.
|
@@ -116,7 +116,7 @@ export const MseM = ({
|
|
|
116
116
|
const PURCHASE_ATTEMPTS_STORAGE_KEY = "purchase_attempts";
|
|
117
117
|
function getPurchaseAttempts() {
|
|
118
118
|
try {
|
|
119
|
-
return JSON.parse(window.localStorage.getItem(PURCHASE_ATTEMPTS_STORAGE_KEY));
|
|
119
|
+
return JSON.parse(window.localStorage.getItem(PURCHASE_ATTEMPTS_STORAGE_KEY)) || {};
|
|
120
120
|
} catch (e) {
|
|
121
121
|
return {};
|
|
122
122
|
}
|