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 CHANGED
@@ -2436,7 +2436,8 @@ function PageRenderer$1({
2436
2436
  hideLogin,
2437
2437
  isCustomWebsite,
2438
2438
  countryCode,
2439
- currencySymbol
2439
+ currencySymbol,
2440
+ pageData = {}
2440
2441
  }) {
2441
2442
  const navList = header?.navs;
2442
2443
  const context = useMemo(() => ({
@@ -2460,7 +2461,7 @@ function PageRenderer$1({
2460
2461
  countryCode,
2461
2462
  currencySymbol,
2462
2463
  pageData
2463
- }), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol, pageData = {}]);
2464
+ }), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol, pageData]);
2464
2465
  const theme = useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
2465
2466
  const Wrapper = SectionWrapper || Fragment;
2466
2467
  return /*#__PURE__*/React.createElement(ThemeProvider, {
@@ -10248,7 +10249,8 @@ function PageRenderer({
10248
10249
  templateId,
10249
10250
  isTutorWebsite = false,
10250
10251
  extraProps,
10251
- hideLogin
10252
+ hideLogin,
10253
+ pageData = {}
10252
10254
  }) {
10253
10255
  const navList = header?.navs;
10254
10256
  const context = useMemo(() => ({
@@ -10272,7 +10274,7 @@ function PageRenderer({
10272
10274
  countryCode,
10273
10275
  currencySymbol,
10274
10276
  pageData
10275
- }), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol, pageData = {}]);
10277
+ }), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol, pageData]);
10276
10278
  const theme = useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
10277
10279
  const Wrapper = SectionWrapper || Fragment;
10278
10280
  return /*#__PURE__*/React.createElement(ThemeProvider, {