From f257d3c7e22f929965e71e5eec4c2ec5254e696f Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Sat, 27 May 2023 01:38:46 -0600 Subject: Añade página de error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/products/products.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/routes/products/products.tsx') diff --git a/src/routes/products/products.tsx b/src/routes/products/products.tsx index 27192d3..881c1f6 100644 --- a/src/routes/products/products.tsx +++ b/src/routes/products/products.tsx @@ -1,4 +1,4 @@ -import { useLoaderData } from "react-router-dom"; +import { useLoaderData, useRouteError } from "react-router-dom"; import ProductListing from "../../components/product_listing"; import SearchBar from "../../components/search_bar"; import MainContentLayout from "../../components/main_content_layout"; -- cgit v1.2.3