From d138c15dcd4272cd2358d28867ef35d1550b39cd Mon Sep 17 00:00:00 2001
From: HombreLaser <sebastian-440@live.com>
Date: Mon, 15 May 2023 20:35:39 -0600
Subject: Mejora renderizado de formularios

---
 src/routes/account/addresses/edit.tsx | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 src/routes/account/addresses/edit.tsx

(limited to 'src/routes/account/addresses/edit.tsx')

diff --git a/src/routes/account/addresses/edit.tsx b/src/routes/account/addresses/edit.tsx
new file mode 100644
index 0000000..31bfaed
--- /dev/null
+++ b/src/routes/account/addresses/edit.tsx
@@ -0,0 +1,18 @@
+import AddressForm from "../../../components/forms/address_form";
+import { useLoaderData } from "react-router-dom";
+import MainContentLayout from "../../../components/main_content_layout";
+
+export function Edit() {
+  const address = useLoaderData().data.data.attributes;
+
+  return(
+    <MainContentLayout>
+      <div className="w-4/5 my-6">
+          <h1 className="my-6 text-3xl">
+            Editar cuenta
+          </h1>
+          <AddressForm address={address}/>
+        </div>
+    </MainContentLayout>
+  );
+}
\ No newline at end of file
-- 
cgit v1.2.3

