From b5885b23a8d3593428334683b8c03075ce071f3a Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Sun, 21 May 2023 12:26:29 -0600 Subject: Añade edición de método de pago MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/payment_method.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/components/payment_method.tsx') diff --git a/src/components/payment_method.tsx b/src/components/payment_method.tsx index 66f7e54..f87d889 100644 --- a/src/components/payment_method.tsx +++ b/src/components/payment_method.tsx @@ -1,4 +1,6 @@ export default function PaymentMethod({ payment_method }) { + const edit_address_route = `/account/cards/${ payment_method.id }/edit`; + return( @@ -14,9 +16,10 @@ export default function PaymentMethod({ payment_method }) { {payment_method.attributes.expiration_year} - + ); -- cgit v1.2.3