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
|
@@ -5341,19 +5341,6 @@ var TicketsContainer = function TicketsContainer(_ref) {
|
|
|
5341
5341
|
};
|
|
5342
5342
|
}();
|
|
5343
5343
|
|
|
5344
|
-
React.useEffect(function () {
|
|
5345
|
-
try {
|
|
5346
|
-
if (typeof window !== 'undefined') {
|
|
5347
|
-
var userData = window.localStorage.getItem('user_data') ? JSON.parse(window.localStorage.getItem('user_data') || '{}') : {};
|
|
5348
|
-
|
|
5349
|
-
if (userData.country === '') {
|
|
5350
|
-
handleLogout();
|
|
5351
|
-
window.open('https://www.ticketfairy.com/account/change_information?need_country=true');
|
|
5352
|
-
}
|
|
5353
|
-
}
|
|
5354
|
-
} catch (e) {}
|
|
5355
|
-
}, []);
|
|
5356
|
-
|
|
5357
5344
|
var handleExternalLogin = function handleExternalLogin() {
|
|
5358
5345
|
setIsLogged(true);
|
|
5359
5346
|
};
|