Skip to content

Commit

Permalink
Fixes to components imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksydan committed Oct 23, 2023
1 parent f74d2d7 commit cbce8b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _dev/js/theme/core/display/psShowHide.js
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion _dev/js/theme/core/selectors.js
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
1 change: 1 addition & 0 deletions _dev/js/theme/index.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit cbce8b2

Please sign in to comment.