This commit is contained in:
hamid zarghami
2025-12-02 15:43:46 +03:30
parent 947be72c93
commit 35bc98609b
@@ -1,5 +1,6 @@
'use client';
import { useGetAddresses } from '@/app/[name]/(Profile)/profile/address/hooks/useAddressData';
import { ChevronLeft } from 'lucide-react';
import Link from 'next/link';
import { useParams } from 'next/navigation';
@@ -10,8 +11,10 @@ type AddressSectionProps = {
};
export const AddressSection = ({ address }: AddressSectionProps) => {
const params = useParams<{ name: string; id: string }>();
const { t } = useTranslation('parallels', { keyPrefix: 'OrderDetail' });
const { data: addresses } = useGetAddresses();
return (
<section className="bg-container rounded-container box-shadow-normal p-4">