Skip to content

Commit

Permalink
Merge pull request #31 from CaptinKraken/patch-1
Browse files Browse the repository at this point in the history
fix: products page pagination
  • Loading branch information
rozenmd authored Sep 24, 2024
2 parents 4d4e6ff + 037f6ed commit 56e9e8a
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 56e9e8a

Please sign in to comment.