Skip to content

Commit

Permalink
fix(temp): remove the showControls property of Pagination components
Browse files Browse the repository at this point in the history
Temporarily remove the `showControls` property of `Pagination` components
until heroui-inc/heroui#4275 is resolved.
  • Loading branch information
AnYiEE committed Dec 10, 2024
1 parent 16d40dd commit f77b3b9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion app/(pages)/customer-normal/beverageTabContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,8 @@ export default function BeverageTabContent() {
<div className="flex justify-center pt-2">
{tableCurrentPageItems.length > 0 && (
<Pagination
showControls
/** @todo Add it back after {@link https://github.com/nextui-org/nextui/issues/4275} is fixed. */
// showControls
showShadow
size="sm"
page={tableCurrentPage}
Expand Down
3 changes: 2 additions & 1 deletion app/(pages)/customer-normal/recipeTabContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,8 @@ export default function RecipeTabContent() {
<div className="flex justify-center pt-2">
{tableCurrentPageItems.length > 0 && (
<Pagination
showControls
/** @todo Add it back after {@link https://github.com/nextui-org/nextui/issues/4275} is fixed. */
// showControls
showShadow
size="sm"
page={tableCurrentPage}
Expand Down
3 changes: 2 additions & 1 deletion app/(pages)/customer-rare/beverageTabContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,8 @@ export default function BeverageTabContent() {
<div className="flex justify-center pt-2">
{tableCurrentPageItems.length > 0 && (
<Pagination
showControls
/** @todo Add it back after {@link https://github.com/nextui-org/nextui/issues/4275} is fixed. */
// showControls
showShadow
size="sm"
page={tableCurrentPage}
Expand Down
3 changes: 2 additions & 1 deletion app/(pages)/customer-rare/recipeTabContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,8 @@ export default function RecipeTabContent() {
<div className="flex justify-center pt-2">
{tableCurrentPageItems.length > 0 && (
<Pagination
showControls
/** @todo Add it back after {@link https://github.com/nextui-org/nextui/issues/4275} is fixed. */
// showControls
showShadow
size="sm"
page={tableCurrentPage}
Expand Down

0 comments on commit f77b3b9

Please sign in to comment.