Skip to content

Commit 1caeb8d

Browse files
feat(checkout): CHECKOUT-9468 convert SingleShippingForm
1 parent e003e27 commit 1caeb8d

File tree

2 files changed

+188
-221
lines changed

2 files changed

+188
-221
lines changed

packages/core/src/app/shipping/ShippingForm.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
type CheckoutParams,
55
type CheckoutSelectors,
66
type Consignment,
7-
type CustomerRequestOptions,
87
type FormField,
98
type RequestOptions,
109
type ShippingInitializeOptions,
@@ -42,7 +41,6 @@ export interface ShippingFormProps {
4241
onSignIn(): void;
4342
onSingleShippingSubmit(values: SingleShippingFormValues): void;
4443
onUnhandledError(error: Error): void;
45-
signOut(options?: CustomerRequestOptions): void;
4644
updateAddress(
4745
address: Partial<Address>,
4846
options: RequestOptions<CheckoutParams>,
@@ -69,7 +67,6 @@ const ShippingForm = ({
6967
onUnhandledError,
7068
shippingAddress,
7169
shouldShowOrderComments,
72-
signOut,
7370
updateAddress,
7471
isShippingStepPending,
7572
isInitialValueLoaded,
@@ -121,15 +118,13 @@ const ShippingForm = ({
121118
isBillingSameAsShipping={isBillingSameAsShipping}
122119
isInitialValueLoaded={isInitialValueLoaded}
123120
isLoading={isLoading}
124-
isMultiShippingMode={isMultiShippingMode}
125121
isShippingStepPending={isShippingStepPending}
126122
methodId={methodId}
127123
onSubmit={onSingleShippingSubmit}
128124
onUnhandledError={onUnhandledError}
129125
shippingAddress={shippingAddress}
130126
shippingFormRenderTimestamp={shippingFormRenderTimestamp}
131127
shouldShowOrderComments={shouldShowOrderComments}
132-
signOut={signOut}
133128
updateAddress={updateAddress}
134129
/>
135130
);

0 commit comments

Comments
 (0)