From cbebedd51e1b4a2f709341b792dd073bac83f15d Mon Sep 17 00:00:00 2001
From: HombreLaser <sebastian-440@live.com>
Date: Fri, 12 May 2023 23:01:55 -0600
Subject: Añadido formulario de edición de cuenta
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/main.tsx | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'src/main.tsx')

diff --git a/src/main.tsx b/src/main.tsx
index a3eb1b2..cd65146 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -5,6 +5,8 @@ import Products from "./routes/products/products";
 import Product from "./routes/products/product";
 import Companies from "./routes/companies/companies";
 import Account from "./routes/account/account";
+import { EditAccount } from './routes/account/edit';
+import { editAccount } from './clients/actions';
 import Layout from "./components/layout";
 import { accountLoader, loader, productLoader } from "./clients/loaders"; 
 import './index.css';
@@ -30,6 +32,12 @@ const routes = [
     loader: accountLoader,
     element: <Account/>
   },
+  {
+    path: "/account/edit",
+    element: <EditAccount/>,
+    loader: accountLoader,
+    action: editAccount
+  },
   {
     path: '/',
     element: <Navigate to='/products'/>
-- 
cgit v1.2.3

