Skip to content

Commit

Permalink
fixes in store page
Browse files Browse the repository at this point in the history
  • Loading branch information
ramyakrishnai committed Jun 26, 2024
1 parent 7e5e078 commit ff4278a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/pages/ecommerce/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand All @@ -33,6 +34,7 @@ const ECommerce = () => {
...store,
comingSoon: ! store.comingSoon,
} );
comingSoonAdminbarToggle(!store.comingSoon)

Check failure on line 37 in src/app/pages/ecommerce/page.js

View workflow job for this annotation

GitHub Actions / ESLint

Replace `!store.comingSoon)` with `·!·store.comingSoon·);`
}
),
};
Expand Down

0 comments on commit ff4278a

Please sign in to comment.