From 037f6edb24ed3ca3e01a464c576d352b6d7c725d Mon Sep 17 00:00:00 2001 From: David Wirth Date: Mon, 1 Apr 2024 13:25:00 -0500 Subject: [PATCH] fix: products page pagination Fixes products page pagination, by setting to correct page --- frontend/app/routes/products.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/routes/products.tsx b/frontend/app/routes/products.tsx index d889f45..ff600f1 100644 --- a/frontend/app/routes/products.tsx +++ b/frontend/app/routes/products.tsx @@ -40,7 +40,7 @@ const Products = () => { }, [dispatch, data.stats]); const setPage = (page: number) => { - navigate(`/customers?page=${page}`); + navigate(`/products?page=${page}`); }; return (