Skip to content

Commit

Permalink
fix: πŸ› fix
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jia-nan committed Jul 20, 2023
1 parent 75c3cea commit 40622d4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pagination/Pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ export interface PaginationProps extends TdPaginationProps, StyledProps {}

const { Option } = Select;

const Pagination = forwardRef<HTMLDivElement, PaginationProps>((props, ref) => {
const Pagination = forwardRef<HTMLDivElement, PaginationProps>((originalProps, ref) => {
const props = useDefaultProps<PaginationProps>(originalProps, paginationDefaultProps);
const {
theme,
size,
Expand All @@ -49,7 +50,7 @@ const Pagination = forwardRef<HTMLDivElement, PaginationProps>((props, ref) => {
className,
selectProps,
...otherProps
} = useDefaultProps<PaginationProps>(props, paginationDefaultProps);
} = props;
// εŽŸη”Ÿ html ε±žζ€§ι€δΌ 
const restProps = omit(otherProps, ['current', 'pageSize', 'defaultPageSize', 'defaultCurrent']);

Expand Down

0 comments on commit 40622d4

Please sign in to comment.