@mychoice/mychoice-sdk-modules 2.1.22 → 2.1.23
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/cjs/index.js +4 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +4 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -2
package/dist/esm/index.js
CHANGED
|
@@ -249,8 +249,10 @@ const LoaderPrimary = () => {
|
|
|
249
249
|
const { appLoaderState } = useStoreAppLoader();
|
|
250
250
|
const { appConfigState } = useStoreAppConfig();
|
|
251
251
|
const isLastPage = window.location.pathname.includes('discount') || window.location.pathname.includes('/life/applicant');
|
|
252
|
-
|
|
253
|
-
|
|
252
|
+
return (jsxs("div", { className: "loader-wrapper", children: [appConfigState.appType === AppTypes.TheBig || !isLastPage ? jsx(IconLoaderPrimary, {}) : jsx(LoaderVid, {}), !!appLoaderState.description && appLoaderState.description.includes('accurate')
|
|
253
|
+
? (jsx("h4", { children: appLoaderState.description.split('\n').map((line, index) => (jsxs("div", { children: [line, jsx("br", {})] }, index))) }))
|
|
254
|
+
// eslint-disable-next-line react/no-unescaped-entities
|
|
255
|
+
: !appLoaderState.description && jsx("h4", { children: "'Hang tight, while we collect and process information about your property'" })] }));
|
|
254
256
|
};
|
|
255
257
|
|
|
256
258
|
const ModalConfirm = () => {
|