Skip to content

Commit

Permalink
fix: rules-of-hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed Jul 14, 2021
1 parent bbf292f commit 7fcc8d6
Show file tree
Hide file tree
Showing 7 changed files with 795 additions and 46 deletions.
2 changes: 1 addition & 1 deletion example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Table, TableColumnType } from 'antd';
import ProTable, { ProColumns } from '@ant-design/pro-table';
import './App.css';
import useATRH from 'use-antd-resizable-header';
import 'use-antd-resizable-header/dist/style.css';
import 'use-antd-resizable-header/dist/index.css';
import 'antd/es/table/style/index.css';

const data: any[] = [];
Expand Down
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,12 @@
"react": ">=16.8.0"
},
"dependencies": {
"@types/lodash.debounce": "^4.0.6",
"classnames": "^2.3.1",
"lodash.debounce": "^4.0.8",
"lodash.throttle": "^4.1.1",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-resizable": "^3.0.4"
},
"devDependencies": {
"@types/lodash.throttle": "^4.1.6",
"@types/node": "^16.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
Expand All @@ -55,6 +51,7 @@
"lint-staged": "^11.0.0",
"postcss-nesting": "^8.0.1",
"prettier": "^2.3.2",
"rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-typescript2": "^0.30.0",
"typescript": "^4.1.2",
"vite": "^2.0.5"
Expand Down
Loading

0 comments on commit 7fcc8d6

Please sign in to comment.