From 72958e5fdeca99be00b52061f349bd00cbd665d0 Mon Sep 17 00:00:00 2001 From: glo82145 Date: Tue, 5 Nov 2024 11:24:49 +0530 Subject: [PATCH] PWA-3318::Prex compatibility --- .../lib/talons/Gallery/isSupportedProductType.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/peregrine/lib/talons/Gallery/isSupportedProductType.js b/packages/peregrine/lib/talons/Gallery/isSupportedProductType.js index 9d6c68d253..c6ed392070 100644 --- a/packages/peregrine/lib/talons/Gallery/isSupportedProductType.js +++ b/packages/peregrine/lib/talons/Gallery/isSupportedProductType.js @@ -1,10 +1,6 @@ -const SUPPORTED_PRODUCT_TYPES = [ - 'SimpleProduct', - 'ConfigurableProduct', - 'configurable', - 'simple' +const SUPPORT_PRODUCT_TYPES = ['SimpleProduct','ConfigurableProduct','configurable','simple' ]; export const isSupportedProductType = productType => { - return SUPPORTED_PRODUCT_TYPES.includes(productType); + return SUPPORT_PRODUCT_TYPES.includes(productType); };