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/routes/account/cards/edit.tsx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/routes/account/cards/edit.tsx (limited to 'src/routes/account') diff --git a/src/routes/account/cards/edit.tsx b/src/routes/account/cards/edit.tsx new file mode 100644 index 0000000..de055ba --- /dev/null +++ b/src/routes/account/cards/edit.tsx @@ -0,0 +1,19 @@ +import CardForm from "../../../components/forms/card_form"; +import { useLoaderData, useActionData } from "react-router-dom"; +import MainContentLayout from "../../../components/main_content_layout"; + +export function Edit() { + const card = useLoaderData().data.data.attributes; + const errors = useActionData(); + + return( + +
+

+ Editar método de pago +

+ +
+
+ ); +} \ No newline at end of file -- cgit v1.2.3