diy-template-components 2.0.62 → 2.0.63
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/build/index.es.js +6 -4
- package/build/index.es.js.map +1 -1
- package/build/index.js +6 -4
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -2452,7 +2452,8 @@ function PageRenderer$1({
|
|
|
2452
2452
|
hideLogin,
|
|
2453
2453
|
isCustomWebsite,
|
|
2454
2454
|
countryCode,
|
|
2455
|
-
currencySymbol
|
|
2455
|
+
currencySymbol,
|
|
2456
|
+
pageData = {}
|
|
2456
2457
|
}) {
|
|
2457
2458
|
const navList = header?.navs;
|
|
2458
2459
|
const context = React.useMemo(() => ({
|
|
@@ -2476,7 +2477,7 @@ function PageRenderer$1({
|
|
|
2476
2477
|
countryCode,
|
|
2477
2478
|
currencySymbol,
|
|
2478
2479
|
pageData
|
|
2479
|
-
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol, pageData
|
|
2480
|
+
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol, pageData]);
|
|
2480
2481
|
const theme = React.useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
2481
2482
|
const Wrapper = SectionWrapper || React.Fragment;
|
|
2482
2483
|
return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
|
|
@@ -10264,7 +10265,8 @@ function PageRenderer({
|
|
|
10264
10265
|
templateId,
|
|
10265
10266
|
isTutorWebsite = false,
|
|
10266
10267
|
extraProps,
|
|
10267
|
-
hideLogin
|
|
10268
|
+
hideLogin,
|
|
10269
|
+
pageData = {}
|
|
10268
10270
|
}) {
|
|
10269
10271
|
const navList = header?.navs;
|
|
10270
10272
|
const context = React.useMemo(() => ({
|
|
@@ -10288,7 +10290,7 @@ function PageRenderer({
|
|
|
10288
10290
|
countryCode,
|
|
10289
10291
|
currencySymbol,
|
|
10290
10292
|
pageData
|
|
10291
|
-
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol, pageData
|
|
10293
|
+
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol, pageData]);
|
|
10292
10294
|
const theme = React.useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
10293
10295
|
const Wrapper = SectionWrapper || React.Fragment;
|
|
10294
10296
|
return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
|