@tripian/react 9.1.77 → 9.1.78
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/index.js +5 -2
- package/index.js.map +1 -1
- package/min.css +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -27757,8 +27757,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27757
27757
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27758
27758
|
const react_1 = __importDefault(__webpack_require__(0));
|
|
27759
27759
|
const TourTicketLazyLoading_scss_1 = __importDefault(__webpack_require__(982));
|
|
27760
|
+
const PreLoading_1 = __importDefault(__webpack_require__(15));
|
|
27760
27761
|
const TourTicketLazyLoading = () => (react_1.default.createElement("div", { className: TourTicketLazyLoading_scss_1.default.spinnerContainer },
|
|
27761
|
-
react_1.default.createElement("span", { className: TourTicketLazyLoading_scss_1.default.blur },
|
|
27762
|
+
react_1.default.createElement("span", { className: TourTicketLazyLoading_scss_1.default.blur },
|
|
27763
|
+
react_1.default.createElement(PreLoading_1.default, { size: "extra-small" }))));
|
|
27762
27764
|
exports.default = TourTicketLazyLoading;
|
|
27763
27765
|
|
|
27764
27766
|
|
|
@@ -79347,7 +79349,8 @@ const FormTemplateProfile = ({ user, profileQuestions, updateUser, updateCallbac
|
|
|
79347
79349
|
return false;
|
|
79348
79350
|
};
|
|
79349
79351
|
const isLightRegistered = (0, react_1.useMemo)(() => {
|
|
79350
|
-
|
|
79352
|
+
const domain = user.email.slice(user.email.indexOf('@') + 1).toLowerCase();
|
|
79353
|
+
if (domain === 'light-tripian.com' || domain === 'tripianguest.com') {
|
|
79351
79354
|
return true;
|
|
79352
79355
|
}
|
|
79353
79356
|
return false;
|