tf-checkout-react 1.3.48-beta.21 → 1.3.48-beta.22
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 +3 -1
- 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 +3 -1
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/seatMapContainer/index.tsx +10 -2
|
@@ -8102,7 +8102,9 @@ var SeatMapContainer = function SeatMapContainer(props) {
|
|
|
8102
8102
|
})), [eventId]);
|
|
8103
8103
|
var startTimer = React.useCallback(function (duration) {
|
|
8104
8104
|
setShowTimer(true);
|
|
8105
|
-
localStorage.
|
|
8105
|
+
if (!localStorage.getItem("reservationStart-" + eventId)) {
|
|
8106
|
+
localStorage.setItem("reservationStart-" + eventId, String(Date.now() + duration));
|
|
8107
|
+
}
|
|
8106
8108
|
}, []);
|
|
8107
8109
|
var endTimer = React.useCallback(function () {
|
|
8108
8110
|
localStorage.removeItem("reservationStart-" + eventId);
|