File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
packages/template-retail-react-app/app/pages/checkout/partials Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import {useCurrentCustomer} from '@salesforce/retail-react-app/app/hooks/use-cur
2626import { useCurrency } from '@salesforce/retail-react-app/app/hooks/use-currency'
2727import { useCheckout } from '@salesforce/retail-react-app/app/pages/checkout/util/checkout-context'
2828import { usePaymentConfiguration } from '@salesforce/commerce-sdk-react'
29- import { useShopperConfiguration } from '@salesforce/retail-react-app/app/hooks/use-shopper-configuration'
3029import { useSFPaymentsCountry } from '@salesforce/retail-react-app/app/hooks/use-sf-payments-country'
3130import {
3231 STATUS_SUCCESS ,
@@ -95,7 +94,7 @@ const SFPaymentsSheet = forwardRef((props, ref) => {
9594 }
9695 } )
9796
98- const zoneId = useShopperConfiguration ( ' zoneId' )
97+ const zoneId = paymentConfig ?. zoneId
9998 const cardCaptureAutomatic = useAutomaticCapture ( )
10099 const futureUsageOffSession = useFutureUsageOffSession ( )
101100
You can’t perform that action at this time.
0 commit comments