Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f8dfbe4

Browse files
committedNov 5, 2022
test: fix lint and compile errors
1 parent 31b616c commit f8dfbe4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"devDependencies": {
5252
"@types/classnames": "^2.2.9",
5353
"@types/jest": "^27.4.0",
54+
"@types/keyv": "^3.1.4",
5455
"@types/react": "^18.0.0",
5556
"@types/react-dom": "^18.0.0",
5657
"@umijs/fabric": "^2.0.3",

‎src/Pagination.jsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ class Pagination extends React.Component {
425425
},
426426
{},
427427
);
428-
428+
429429
const totalText = showTotal && (
430430
<li className={`${prefixCls}-total-text`}>
431431
{showTotal(total, [
@@ -671,7 +671,7 @@ class Pagination extends React.Component {
671671
pagerList.push(lastPager);
672672
}
673673
}
674-
674+
675675
const prevDisabled = !this.hasPrev() || !allPages;
676676
const nextDisabled = !this.hasNext() || !allPages;
677677
return (
@@ -680,7 +680,6 @@ class Pagination extends React.Component {
680680
[`${prefixCls}-disabled`]: disabled,
681681
})}
682682
style={style}
683-
unselectable="unselectable"
684683
ref={this.savePaginationNode}
685684
{...dataOrAriaAttributeProps}
686685
>

0 commit comments

Comments
 (0)