Skip to content

Commit

Permalink
fix: fix pagination error with product storage
Browse files Browse the repository at this point in the history
  • Loading branch information
TranHuyZIT committed Jul 25, 2023
1 parent ea672c4 commit 05f15b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/pages/storage/product/Product.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ const Product = () => {
(loaihang) => loaihang.ma === malh
)?.donvi;
setDonViToChoose(donvis);
setCurrentPage(1);
setCurrentPage(0);
}}
>
{allcategories.map((category) => {
Expand Down

0 comments on commit 05f15b9

Please sign in to comment.