diff --git a/_dev/js/theme/components/product.js b/_dev/js/theme/components/product.js index 3cc7f8a4..4a11a510 100644 --- a/_dev/js/theme/components/product.js +++ b/_dev/js/theme/components/product.js @@ -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 = () => { diff --git a/_dev/js/theme/core/product/handler/product/productPopStateHandler.js b/_dev/js/theme/core/product/handler/product/productPopStateHandler.js index 4f4b5082..77182d60 100644 --- a/_dev/js/theme/core/product/handler/product/productPopStateHandler.js +++ b/_dev/js/theme/core/product/handler/product/productPopStateHandler.js @@ -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(); diff --git a/_dev/js/theme/core/product/handler/product/updateProductCustomizationHandler.js b/_dev/js/theme/core/product/handler/product/updateProductCustomizationHandler.js index afcd7dd5..ddd6c71c 100644 --- a/_dev/js/theme/core/product/handler/product/updateProductCustomizationHandler.js +++ b/_dev/js/theme/core/product/handler/product/updateProductCustomizationHandler.js @@ -1,5 +1,5 @@ import prestashop from 'prestashop'; -import productEventContextSelector from "../../utils/productEventContextSelector"; +import productEventContextSelector from '../../utils/productEventContextSelector'; /** * Update product customization input value diff --git a/_dev/js/theme/core/product/handler/product/updateProductDOMElementsHandler.js b/_dev/js/theme/core/product/handler/product/updateProductDOMElementsHandler.js index 03c0e06c..b8221c1d 100644 --- a/_dev/js/theme/core/product/handler/product/updateProductDOMElementsHandler.js +++ b/_dev/js/theme/core/product/handler/product/updateProductDOMElementsHandler.js @@ -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 diff --git a/_dev/js/theme/core/product/handler/product/updateProductHandler.js b/_dev/js/theme/core/product/handler/product/updateProductHandler.js index 7d2a489d..20aa2695 100644 --- a/_dev/js/theme/core/product/handler/product/updateProductHandler.js +++ b/_dev/js/theme/core/product/handler/product/updateProductHandler.js @@ -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(); diff --git a/_dev/js/theme/core/product/handler/product/updateQuantityInputHandler.js b/_dev/js/theme/core/product/handler/product/updateQuantityInputHandler.js index f9d41637..4ca8f82d 100644 --- a/_dev/js/theme/core/product/handler/product/updateQuantityInputHandler.js +++ b/_dev/js/theme/core/product/handler/product/updateQuantityInputHandler.js @@ -1,5 +1,5 @@ import prestashop from 'prestashop'; -import productEventContextSelector from "../../utils/productEventContextSelector"; +import productEventContextSelector from '../../utils/productEventContextSelector'; /** * Update quantity input value diff --git a/_dev/js/theme/core/product/utils/productEventContextSelector.js b/_dev/js/theme/core/product/utils/productEventContextSelector.js index a656a59f..cebfd0c0 100644 --- a/_dev/js/theme/core/product/utils/productEventContextSelector.js +++ b/_dev/js/theme/core/product/utils/productEventContextSelector.js @@ -1,5 +1,5 @@ -import isQuickViewOpen from "./isQuickViewOpen"; -import prestashop from "prestashop"; +import prestashop from 'prestashop'; +import isQuickViewOpen from './isQuickViewOpen'; const productEventContextSelector = () => { const { @@ -8,6 +8,6 @@ const productEventContextSelector = () => { } = prestashop.selectors.product; return isQuickViewOpen() ? quickViewModal : container; -} +}; export default productEventContextSelector;