diff --git a/_dev/js/theme/core/display/psShowHide.js b/_dev/js/theme/core/display/psShowHide.js index 6ea0834b..a1630daf 100644 --- a/_dev/js/theme/core/display/psShowHide.js +++ b/_dev/js/theme/core/display/psShowHide.js @@ -1,4 +1,4 @@ -import useToggleDisplay from '@js/theme/components/display/useToggleDisplay'; +import useToggleDisplay from '../../../utils/display/useToggleDisplay'; /** * Toggle the display of elements with the 'ps-shown-by-js' and 'ps-hidden-by-js' classes. diff --git a/_dev/js/theme/core/selectors.js b/_dev/js/theme/core/selectors.js index 7be3e0ef..96672b84 100644 --- a/_dev/js/theme/core/selectors.js +++ b/_dev/js/theme/core/selectors.js @@ -1,5 +1,5 @@ import prestashop from 'prestashop'; -import DOMReady from '../../utils/DOM/DOMHelpers'; +import { DOMReady } from '../../utils/DOM/DOMHelpers'; prestashop.selectors = { quantityWanted: '#quantity_wanted', diff --git a/_dev/js/theme/index.js b/_dev/js/theme/index.js index db020550..39d7e149 100644 --- a/_dev/js/theme/index.js +++ b/_dev/js/theme/index.js @@ -1,5 +1,6 @@ import EventEmitter from 'events'; +import './core/index'; import './vendors/bootstrap/bootstrap-imports'; import './components/dynamic-bootstrap-components'; import bsCustomFileInput from 'bs-custom-file-input';