diff --git a/src/app/pages/home/index.js b/src/app/pages/home/index.js
index 5b41b28f6..bd7f2254c 100644
--- a/src/app/pages/home/index.js
+++ b/src/app/pages/home/index.js
@@ -1,16 +1,10 @@
import { Container, Page } from '@newfold/ui-component-library';
-import { NewfoldRuntime } from '@newfold-labs/wp-module-runtime';
import WebinarsBanner from 'App/components/webinars-banner';
import AccountCard from './accountCard';
import HelpCard from './helpCard';
import WelcomeSection from './welcomeSection';
-import MyProductSection from './myProductsSection';
const Home = () => {
- const abTestShowMyProducts = NewfoldRuntime.hasCapability(
- 'abTestShowMyProducts'
- );
-
return (
@@ -23,7 +17,6 @@ const Home = () => {
- { abTestShowMyProducts && }
);
};
diff --git a/src/app/pages/home/myProductsSection.js b/src/app/pages/home/myProductsSection.js
deleted file mode 100644
index c379d7970..000000000
--- a/src/app/pages/home/myProductsSection.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/* eslint-disable @wordpress/i18n-no-flanking-whitespace */
-import apiFetch from '@wordpress/api-fetch';
-import { useState, useEffect } from '@wordpress/element';
-import { NewfoldRuntime } from '@newfold-labs/wp-module-runtime';
-import { isJarvis } from '../../util/helpers';
-import { default as NewfoldMyProducts } from '@modules/wp-module-my-products/components/myProducts';
-
-// constants to pass to module
-const moduleConstants = {
- text: {
- error: __(
- 'Oops, there was an error loading products, please try again later.',
- 'bluehost-wordpress-plugin'
- ),
- noProducts: __(
- 'Sorry, no products. Please, try again later.',
- 'bluehost-wordpress-plugin'
- ),
- jarvisText: __(
- 'Please login to your account manager to see products.',
- 'bluehost-wordpress-plugin'
- ),
- title: __( 'My Products', 'bluehost-wordpress-plugin' ),
- subTitle: __(
- 'A list of products associated with your Bluehost hosting package. For more information, check out the ',
- 'bluehost-wordpress-plugin'
- ),
- renewalText: __(
- 'Bluehost Account Manager',
- 'bluehost-wordpress-plugin'
- ),
- renewalCenterUrl: 'https://www.bluehost.com/my-account/renewal-center',
- },
-};
-
-// methods to pass to module
-const moduleMethods = {
- apiFetch,
- useState,
- useEffect,
- NewfoldRuntime,
- isJarvis,
-};
-
-const MyProductsSection = () => {
- return (
-
- );
-};
-
-export default MyProductsSection;