From f6cc288cd67308330a83094bc2f0b64132ad81e8 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Mon, 1 May 2023 12:25:03 -0600 Subject: Vista de proveedores --- src/main.tsx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main.tsx') diff --git a/src/main.tsx b/src/main.tsx index 45f5fd6..7b21b2a 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -3,6 +3,7 @@ import ReactDOM from 'react-dom/client' import { createBrowserRouter, Navigate, RouterProvider } from 'react-router-dom' import Products from "./routes/products/products"; import Product from "./routes/products/product"; +import Companies from "./routes/companies/companies"; import Layout from "./components/layout"; import { loader, productLoader } from "./clients/loaders"; import './index.css'; @@ -18,6 +19,11 @@ const routes = [ loader: productLoader, element: }, + { + path: "/companies", + loader: loader, + element: + }, { path: '/', element: -- cgit v1.2.3