From cbebedd51e1b4a2f709341b792dd073bac83f15d Mon Sep 17 00:00:00 2001 From: HombreLaser 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: }, + { + path: "/account/edit", + element: , + loader: accountLoader, + action: editAccount + }, { path: '/', element: -- cgit v1.2.3