diff --git a/framework/shopify/product/get-product.ts b/framework/shopify/product/get-product.ts index e5a5469c0..84e74c611 100644 --- a/framework/shopify/product/get-product.ts +++ b/framework/shopify/product/get-product.ts @@ -29,8 +29,6 @@ const getProduct = async (options: { const product = data?.productByHandle - console.info(normalizeProduct(product)) - return { product: product ? normalizeProduct(product) : null, } diff --git a/framework/shopify/utils/get-checkout-id.ts b/framework/shopify/utils/get-checkout-id.ts index 5d35513a5..11e3802d9 100644 --- a/framework/shopify/utils/get-checkout-id.ts +++ b/framework/shopify/utils/get-checkout-id.ts @@ -2,9 +2,7 @@ import Cookies from 'js-cookie' import { SHOPIFY_CHECKOUT_ID_COOKIE } from '../const' const getCheckoutId = (id?: string) => { - const checkoutID = id ?? Cookies.get(SHOPIFY_CHECKOUT_ID_COOKIE) - console.log(checkoutID) - return checkoutID + return id ?? Cookies.get(SHOPIFY_CHECKOUT_ID_COOKIE) } export default getCheckoutId diff --git a/next.config.js b/next.config.js index abdfe251c..3c9e37210 100644 --- a/next.config.js +++ b/next.config.js @@ -34,7 +34,4 @@ module.exports = { }, ] }, - typescript: { - ignoreBuildErrors: true, - }, }