+ );
+}
diff --git a/src/components/customer/address-list.tsx b/src/components/customer/address-list.tsx
deleted file mode 100644
index c80af60..0000000
--- a/src/components/customer/address-list.tsx
+++ /dev/null
@@ -1,198 +0,0 @@
-"use client";
-
-import { useMemo, useState, useTransition } from "react";
-import { useRouter } from "next/navigation";
-import { createAddress, deleteAddress, type AddressInput } from "@/lib/api/addresses";
-import { Button } from "@/components/ui/button";
-import { Input } from "@/components/ui/input";
-import type { Address, AddressLabel, City, Neighborhood } from "@/types/api";
-
-const LABEL_OPTIONS: { value: AddressLabel; label: string }[] = [
- { value: "home", label: "خانه" },
- { value: "work", label: "محل کار" },
- { value: "other", label: "سایر" },
-];
-
-const emptyForm = {
- label: "home" as AddressLabel,
- title: "",
- full_address: "",
- plaque: "",
- floor: "",
- unit: "",
- recipient_name: "",
- recipient_phone: "",
- city_uuid: "",
- neighborhood_uuid: "",
- is_default: false,
-};
-
-export function AddressList({
- addresses,
- cities,
- neighborhoods,
-}: {
- addresses: Address[];
- cities: City[];
- neighborhoods: Neighborhood[];
-}) {
- const router = useRouter();
- const [isAdding, setIsAdding] = useState(false);
- const [form, setForm] = useState(emptyForm);
- const [error, setError] = useState