summaryrefslogtreecommitdiff
path: root/src/routes/products/products.tsx
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-05-27 01:38:46 -0600
committerHombreLaser <sebastian-440@live.com>2023-05-27 01:38:46 -0600
commitf257d3c7e22f929965e71e5eec4c2ec5254e696f (patch)
tree06b8797a95bf48b3d75056effeb4f83f7e3c32d7 /src/routes/products/products.tsx
parent01ce6eff03e4c427e12d9b2b23ed540698016fa9 (diff)
Añade página de error
Diffstat (limited to 'src/routes/products/products.tsx')
-rw-r--r--src/routes/products/products.tsx2
1 files changed, 1 insertions, 1 deletions
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";