From e8fa9bd7bba125a339f11876eb5ea99d0cd301b6 Mon Sep 17 00:00:00 2001
From: HombreLaser <sebastian-440@live.com>
Date: Thu, 25 May 2023 19:11:31 -0600
Subject: Añade historial de órdenes
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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

(limited to 'src/routes/account/orders.tsx')

diff --git a/src/routes/account/orders.tsx b/src/routes/account/orders.tsx
new file mode 100644
index 0000000..1e655d1
--- /dev/null
+++ b/src/routes/account/orders.tsx
@@ -0,0 +1,14 @@
+import { useLoaderData } from "react-router-dom";
+import MainContentLayout from "../../components/main_content_layout";
+import OrderTable from "../../components/order_table";
+
+
+export default function Orders() {
+  const orders = useLoaderData();
+
+  return(
+    <MainContentLayout>
+      <OrderTable orders={orders}/>
+    </MainContentLayout>
+  );
+}
\ No newline at end of file
-- 
cgit v1.2.3

