Skip to content

Commit

Permalink
fix: products page pagination
Browse files Browse the repository at this point in the history
Fixes products page pagination, by setting to correct page
  • Loading branch information
CaptinKraken authored Apr 1, 2024
1 parent acc5969 commit 037f6ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app/routes/products.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const Products = () => {
}, [dispatch, data.stats]);

const setPage = (page: number) => {
navigate(`/customers?page=${page}`);
navigate(`/products?page=${page}`);
};

return (
Expand Down

0 comments on commit 037f6ed

Please sign in to comment.