diff --git a/src/app/pages/ecommerce/page.js b/src/app/pages/ecommerce/page.js index d9122eaa2..6a4b97b25 100644 --- a/src/app/pages/ecommerce/page.js +++ b/src/app/pages/ecommerce/page.js @@ -7,6 +7,7 @@ import '@newfold-labs/wp-module-ecommerce/bluehost.css'; import AppStore from 'App/data/store'; import { bluehostSettingsApiFetch } from 'App/util/helpers'; import { useNotification } from 'App/components/notifications'; +import { comingSoonAdminbarToggle } from '../../util/helpers'; const ECommerce = () => { const { store, setStore } = useContext( AppStore ); @@ -33,6 +34,7 @@ const ECommerce = () => { ...store, comingSoon: ! store.comingSoon, } ); + comingSoonAdminbarToggle(!store.comingSoon) } ), };