File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
modules/@shopify/checkout-sheet-kit/src
sample/src/screens/BuyNow Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -530,7 +530,7 @@ export type {
530530 AcceleratedCheckoutButtonsProps ,
531531 RenderStateChangeEvent ,
532532} from './components/AcceleratedCheckoutButtons' ;
533- export type { ShopifyCheckoutProps as CheckoutProps , ShopifyCheckoutRef as CheckoutRef } from './components/Checkout' ;
533+ export type { ShopifyCheckoutProps , ShopifyCheckoutRef } from './components/Checkout' ;
534534export type { ShopifyCheckoutEventProviderProps } from './ShopifyCheckoutEventProvider' ;
535535
536536// Components
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import {
2525 type CheckoutAddressChangeStart ,
2626 type CheckoutCompleteEvent ,
2727 type CheckoutPaymentMethodChangeStart ,
28- type CheckoutRef ,
28+ type ShopifyCheckoutRef ,
2929 type CheckoutStartEvent ,
3030 type CheckoutSubmitStart ,
3131 useCheckoutEvents ,
@@ -39,7 +39,7 @@ export default function CheckoutScreen(props: {
3939 route : RouteProp < BuyNowStackParamList , 'Checkout' > ;
4040} ) {
4141 const navigation = useNavigation < NavigationProp < BuyNowStackParamList > > ( ) ;
42- const ref = useRef < CheckoutRef > ( null ) ;
42+ const ref = useRef < ShopifyCheckoutRef > ( null ) ;
4343 const eventContext = useCheckoutEvents ( ) ;
4444
4545 const onStart = ( event : CheckoutStartEvent ) => {
You can’t perform that action at this time.
0 commit comments