diy-template-components 5.19.0 → 5.23.0

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
@@ -2231,8 +2231,7 @@ function MobileHeader({
2231
2231
  isTutorWebsite,
2232
2232
  isLandingPage = false,
2233
2233
  onDownloadAppTriggered,
2234
- extraProps,
2235
- orgId
2234
+ extraProps
2236
2235
  }) {
2237
2236
  const {
2238
2237
  isCustomWebsite,
@@ -2400,7 +2399,7 @@ function MobileHeader({
2400
2399
  // styling={isMobile ? { margin: '0 40px' } : {}}
2401
2400
  }))));
2402
2401
  };
2403
- if (isTutorWebsite && (orgId != 1125872 || extraProps?.orgId != 1125872)) {
2402
+ if (isTutorWebsite) {
2404
2403
  if (isAndroidDelisted && apkURL) {
2405
2404
  downloadLink = /*#__PURE__*/React.createElement(Button, {
2406
2405
  data: {
@@ -2505,7 +2504,7 @@ function MobileHeader({
2505
2504
  order: 1
2506
2505
  }))) : null, isTutorWebsite && header?.appName ? /*#__PURE__*/React.createElement("p", {
2507
2506
  className: classes.mobileAppNameClass
2508
- }, ' ', header?.appName) : null), downloadLink), sideMenu ? /*#__PURE__*/React.createElement("div", {
2507
+ }, ' ', header?.appName) : null), extraProps?.orgId != 1125872 ? downloadLink : null), sideMenu ? /*#__PURE__*/React.createElement("div", {
2509
2508
  className: classes.mobileMenu
2510
2509
  }, /*#__PURE__*/React.createElement("div", {
2511
2510
  className: classes.backdrop,
@@ -2547,8 +2546,7 @@ function Header({
2547
2546
  isTutorWebsite: isTutorWebsite,
2548
2547
  isLandingPage: isLandingPage,
2549
2548
  onDownloadAppTriggered: extraProps?.DownloadAppButtonTriggered,
2550
- extraProps: extraProps,
2551
- orgId: orgId
2549
+ extraProps: extraProps
2552
2550
  }) : /*#__PURE__*/React.createElement(DesktopHeader, {
2553
2551
  navData: filterHiddenNavs(),
2554
2552
  header: data,
@@ -3866,8 +3864,7 @@ function PageRenderer$1({
3866
3864
  hideLogin
3867
3865
  }, /*#__PURE__*/React.createElement(Header, {
3868
3866
  data: header,
3869
- isLandingPage: isLandingPage,
3870
- orgId: orgId
3867
+ isLandingPage: isLandingPage
3871
3868
  })), sections?.length ? sections?.map((sectionData, sectionIndex) => /*#__PURE__*/React.createElement(Wrapper, _extends({}, !!SectionWrapper && {
3872
3869
  sectionData,
3873
3870
  sectionIndex