test env
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
|
import { useGetAddresses } from '@/app/[name]/(Profile)/profile/address/hooks/useAddressData';
|
||||||
import { ChevronLeft } from 'lucide-react';
|
import { ChevronLeft } from 'lucide-react';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import { useParams } from 'next/navigation';
|
import { useParams } from 'next/navigation';
|
||||||
@@ -10,8 +11,10 @@ type AddressSectionProps = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const AddressSection = ({ address }: AddressSectionProps) => {
|
export const AddressSection = ({ address }: AddressSectionProps) => {
|
||||||
|
|
||||||
const params = useParams<{ name: string; id: string }>();
|
const params = useParams<{ name: string; id: string }>();
|
||||||
const { t } = useTranslation('parallels', { keyPrefix: 'OrderDetail' });
|
const { t } = useTranslation('parallels', { keyPrefix: 'OrderDetail' });
|
||||||
|
const { data: addresses } = useGetAddresses();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section className="bg-container rounded-container box-shadow-normal p-4">
|
<section className="bg-container rounded-container box-shadow-normal p-4">
|
||||||
|
|||||||
Reference in New Issue
Block a user