Skip to content

Commit

Permalink
chore: bump father version (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ authored Feb 7, 2025
1 parent 6ca5adc commit cac9d01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"docs:deploy": "gh-pages -d docs-dist",
"gh-pages": "npm run docs:build && npm run docs:deploy",
"compile": "father build && lessc assets/index.less assets/index.css",
"prepublishOnly": "npm run compile && np --yolo --no-publish && npm run gh-pages",
"prepublishOnly": "npm run compile && rc-np",
"lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
"prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
"test": "rc-test",
Expand All @@ -47,7 +47,8 @@
"classnames": "^2.3.2"
},
"devDependencies": {
"@rc-component/father-plugin": "^1.0.0",
"@rc-component/father-plugin": "^2.0.2",
"@rc-component/np": "^1.0.3",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
Expand All @@ -68,7 +69,6 @@
"identity-obj-proxy": "^3.0.0",
"less": "^4.1.3",
"lint-staged": "^15.0.2",
"np": "^10.0.5",
"prettier": "^3.1.0",
"rc-select": "^14.16.4",
"rc-test": "^7.0.15",
Expand Down
2 changes: 1 addition & 1 deletion src/Pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const Pagination: React.FC<PaginationProps> = (props) => {
/>
);
if (typeof icon === 'function') {
iconNode = React.createElement<PaginationProps>(icon, { ...props });
iconNode = React.createElement<PaginationProps>(icon, props);
}
return iconNode as React.ReactNode;
}
Expand Down

0 comments on commit cac9d01

Please sign in to comment.