Skip to content

Commit

Permalink
fix(pagination): missing animation (#3144)
Browse files Browse the repository at this point in the history
  • Loading branch information
wingkwong authored May 31, 2024
1 parent 750b466 commit 68d1629
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/famous-mice-approve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/pagination": patch
---

Fixed pagination missing animation (#3138)
3 changes: 2 additions & 1 deletion packages/components/pagination/src/use-pagination.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@ export function usePagination(originalProps: UsePaginationProps) {
() =>
pagination({
...variantProps,
disableCursorAnimation: disableCursorAnimation || disableAnimation,
disableAnimation,
disableCursorAnimation,
}),
[objectToDeps(variantProps), disableCursorAnimation, disableAnimation],
);
Expand Down

0 comments on commit 68d1629

Please sign in to comment.