Skip to content

Commit

Permalink
es-lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksydan committed Oct 3, 2023
1 parent 890175a commit a03c37b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion _dev/js/theme/components/product.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import $ from 'jquery';
import prestashop from 'prestashop';
import useCustomQuantityInput from './useCustomQuantityInput';
import { each } from '../utils/DOMHelpers';
import productEventContextSelector from "../core/product/utils/productEventContextSelector";
import productEventContextSelector from '../core/product/utils/productEventContextSelector';

$(() => {
const createInputFile = () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import prestashop from 'prestashop';
import productFormDataPersister from '../../persister/productFormDataPersister';
import productStateStore from '../../store/productStateStore';
import productEventContextSelector from "../../utils/productEventContextSelector";
import productEventContextSelector from '../../utils/productEventContextSelector';

const { setOnPopState, isFormChanged } = productStateStore();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import prestashop from 'prestashop';
import productEventContextSelector from "../../utils/productEventContextSelector";
import productEventContextSelector from '../../utils/productEventContextSelector';

/**
* Update product customization input value
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import prestashop from 'prestashop';
import parseToHtml from '../../../../utils/parseToHtml';
import { each } from '../../../../utils/DOMHelpers';
import productEventContextSelector from "../../utils/productEventContextSelector";
import productEventContextSelector from '../../utils/productEventContextSelector';

/**
* Replace element with new html string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import updateQuantityInputHandler from './updateQuantityInputHandler';
import updateProductCustomizationHandler from './updateProductCustomizationHandler';
import updateProductDOMElementsHandler from './updateProductDOMElementsHandler';
import { fromSerializeObject } from '../../../../utils/formSerialize';
import productEventContextSelector from "../../utils/productEventContextSelector";
import productEventContextSelector from '../../utils/productEventContextSelector';

const { getCurrentRequestDelayedId, setCurrentRequestDelayedId } = productStateStore();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import prestashop from 'prestashop';
import productEventContextSelector from "../../utils/productEventContextSelector";
import productEventContextSelector from '../../utils/productEventContextSelector';

/**
* Update quantity input value
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import isQuickViewOpen from "./isQuickViewOpen";
import prestashop from "prestashop";
import prestashop from 'prestashop';
import isQuickViewOpen from './isQuickViewOpen';

const productEventContextSelector = () => {
const {
Expand All @@ -8,6 +8,6 @@ const productEventContextSelector = () => {
} = prestashop.selectors.product;

return isQuickViewOpen() ? quickViewModal : container;
}
};

export default productEventContextSelector;

0 comments on commit a03c37b

Please sign in to comment.