tf-checkout-react 1.2.24 → 1.2.25
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/tf-checkout-react.cjs.development.js +0 -13
- package/dist/tf-checkout-react.cjs.development.js.map +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
- package/dist/tf-checkout-react.esm.js +0 -13
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ticketsContainer/index.tsx +0 -16
|
@@ -5339,19 +5339,6 @@ var TicketsContainer = function TicketsContainer(_ref) {
|
|
|
5339
5339
|
};
|
|
5340
5340
|
}();
|
|
5341
5341
|
|
|
5342
|
-
useEffect(function () {
|
|
5343
|
-
try {
|
|
5344
|
-
if (typeof window !== 'undefined') {
|
|
5345
|
-
var userData = window.localStorage.getItem('user_data') ? JSON.parse(window.localStorage.getItem('user_data') || '{}') : {};
|
|
5346
|
-
|
|
5347
|
-
if (userData.country === '') {
|
|
5348
|
-
handleLogout();
|
|
5349
|
-
window.open('https://www.ticketfairy.com/account/change_information?need_country=true');
|
|
5350
|
-
}
|
|
5351
|
-
}
|
|
5352
|
-
} catch (e) {}
|
|
5353
|
-
}, []);
|
|
5354
|
-
|
|
5355
5342
|
var handleExternalLogin = function handleExternalLogin() {
|
|
5356
5343
|
setIsLogged(true);
|
|
5357
5344
|
};
|