@@ -20,9 +20,9 @@ import { GridContainer } from "components/ui/GridContainer"
2020import { SpinnerIcon } from "components/ui/SpinnerIcon"
2121import { Toggle } from "components/ui/Toggle"
2222
23+ import { AddressFormBottom } from "./AddressFormBottom"
2324import { AddressSectionEmail } from "./AddressSectionEmail"
2425import { AddressSectionSaveForm } from "./AddressSectionSaveForm"
25- import { AddressSectionSaveOnAddressBook } from "./AddressSectionSaveOnAddressBook"
2626import { AddressSectionTitle } from "./AddressSectionTitle"
2727import { BillingAddressFormNew } from "./BillingAddressFormNew"
2828import { ShippingAddressFormNew } from "./ShippingAddressFormNew"
@@ -163,15 +163,10 @@ export const CheckoutCustomerAddresses: React.FC<Props> = ({
163163 { mountBillingAddressForm ? (
164164 < >
165165 < BillingAddressFormNew billingAddress = { billingAddressFill } />
166- < div className = "flex justify-between" key = "actionsWrapper" >
167- < AddressSectionSaveOnAddressBook addressType = "billing" />
168- < p
169- className = "font-extrabold text-red-400 border-b border-red-100 cursor-pointer text-ss"
170- onClick = { handleShowBillingForm }
171- >
172- Close
173- </ p >
174- </ div >
166+ < AddressFormBottom
167+ addressType = "billing"
168+ onClick = { handleShowBillingForm }
169+ />
175170 </ >
176171 ) : (
177172 < Fragment />
@@ -244,15 +239,11 @@ export const CheckoutCustomerAddresses: React.FC<Props> = ({
244239 < ShippingAddressFormNew
245240 shippingAddress = { shippingAddressFill }
246241 />
247- < div className = "flex justify-between mb-4" >
248- < AddressSectionSaveOnAddressBook addressType = "shipping" />
249- < p
250- className = "font-extrabold text-red-400 border-b border-red-100 cursor-pointer text-ss"
251- onClick = { handleShowShippingForm }
252- >
253- Close
254- </ p >
255- </ div >
242+ < AddressFormBottom
243+ addressType = "shipping"
244+ onClick = { handleShowShippingForm }
245+ className = "mb-4"
246+ />
256247 </ >
257248 ) : (
258249 < Fragment />
0 commit comments