mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 04:14:18 +00:00
Merge branch 'm4-datnguyen' of github.com:KieIO/grocery-vercel-commerce into m4-datnguyen
This commit is contained in:
commit
5c7a382b62
@ -55,14 +55,14 @@ const PaginationCommon = ({
|
|||||||
<PaginationItem
|
<PaginationItem
|
||||||
page={index}
|
page={index}
|
||||||
onClick={onPageClick}
|
onClick={onPageClick}
|
||||||
key={`${index}-item`}
|
key={index}
|
||||||
active={index === currentPage}
|
active={index === currentPage}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
<div
|
<div
|
||||||
className={classNames(s.item, {
|
className={classNames(s.item, {
|
||||||
[`${s.disable}`]: currentPage >= pageNum - 1,
|
[s.disable]: currentPage >= pageNum - 1,
|
||||||
})}
|
})}
|
||||||
onClick={onNextClick}
|
onClick={onNextClick}
|
||||||
>
|
>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user