diff --git a/app/account/component/accont-book.tsx b/app/account/component/accont-book.tsx deleted file mode 100644 index 193f50c42..000000000 --- a/app/account/component/accont-book.tsx +++ /dev/null @@ -1,50 +0,0 @@ -import AddressCard from '@/components/AddressCard'; -import { Button } from '@/components/Button'; -import { Text } from '@/components/Text'; -import { Customer, MailingAddress } from '@/lib/shopify/types'; -import { convertObjectToQueryString } from '@/lib/utils'; - -export default function AccountBook({ - customer, - addresses, -}: { - customer: Customer; - addresses: MailingAddress[]; -}) { - return ( - <> -
-

Address Book

-
- {!addresses?.length && ( - - You haven't saved any addresses yet. - - )} -
- - Add an Address - -
- {Boolean(addresses?.length) && ( -
- {customer.defaultAddress && ( - - )} - {addresses - .filter(address => address.id !== customer.defaultAddress?.id) - .map(address => ( - - ))} -
- )} -
-
- - ); -} diff --git a/app/account/component/order-history.tsx b/app/account/component/order-history.tsx deleted file mode 100644 index c24215619..000000000 --- a/app/account/component/order-history.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import EmptyOrders from '@/components/EmptyOrder'; -import Orders from '@/components/Orders'; -import { Order } from '@/lib/shopify/types'; - -export default function OrderHistory({ orders }: { orders: Order[] }) { - return ( -
-
-

Order History

- {orders?.length ? : } -
-
- ); -}