From 029a8372a23989d4f639eac4b56a70a2aebad02a Mon Sep 17 00:00:00 2001 From: cond0r Date: Thu, 4 Feb 2021 17:22:01 +0200 Subject: [PATCH] Update get-checkout-id.ts --- framework/shopify/utils/get-checkout-id.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/shopify/utils/get-checkout-id.ts b/framework/shopify/utils/get-checkout-id.ts index 4f5b4f7b3..5d35513a5 100644 --- a/framework/shopify/utils/get-checkout-id.ts +++ b/framework/shopify/utils/get-checkout-id.ts @@ -1,8 +1,8 @@ import Cookies from 'js-cookie' -import { SHOPIFY_CHECKOUT_COOKIE } from '..' +import { SHOPIFY_CHECKOUT_ID_COOKIE } from '../const' const getCheckoutId = (id?: string) => { - const checkoutID = id ?? Cookies.get(SHOPIFY_CHECKOUT_COOKIE) + const checkoutID = id ?? Cookies.get(SHOPIFY_CHECKOUT_ID_COOKIE) console.log(checkoutID) return checkoutID }