From 44a016256717b871ada858d5dc064d9d0e06425e Mon Sep 17 00:00:00 2001
From: HombreLaser <sebastian-440@live.com>
Date: Thu, 18 May 2023 22:04:52 -0600
Subject: Añade creación de direcciones
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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

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

diff --git a/src/routes/account/addresses/create.tsx b/src/routes/account/addresses/create.tsx
new file mode 100644
index 0000000..5e33a2a
--- /dev/null
+++ b/src/routes/account/addresses/create.tsx
@@ -0,0 +1,18 @@
+import { useActionData } from "react-router-dom";
+import AddressForm from "../../../components/forms/address_form";
+import MainContentLayout from "../../../components/main_content_layout";
+
+export function Create() {
+  const errors = useActionData();
+
+  return (
+    <MainContentLayout>
+      <div className="w-4/5 my-6">
+        <h1 className="my-6 text-3xl">
+          Nueva dirección
+        </h1>
+        <AddressForm errors={errors}/>
+      </div>
+    </MainContentLayout>
+  );
+}
\ No newline at end of file
-- 
cgit v1.2.3

