summaryrefslogtreecommitdiff
path: root/src/routes/account/addresses
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/account/addresses')
-rw-r--r--src/routes/account/addresses/edit.tsx18
1 files changed, 18 insertions, 0 deletions
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