diff --git a/web/package-lock.json b/web/package-lock.json index 4233312a4..e5afe1f44 100644 Binary files a/web/package-lock.json and b/web/package-lock.json differ diff --git a/web/package.json b/web/package.json index 8e842fff6..4173eb0a9 100644 --- a/web/package.json +++ b/web/package.json @@ -11,7 +11,7 @@ "@types/react": "^16.9.41", "@types/react-dom": "^16.9.8", "@types/react-router-dom": "^5.1.5", - "antd": "^4.2.2", + "antd": "^4.4.0", "babel-plugin-import": "^1.13.0", "customize-cra": "^1.0.0", "react": "^16.13.1", diff --git a/web/src/components/listsTable/ListsTable.tsx b/web/src/components/listsTable/ListsTable.tsx index c7ddd2970..a4fe442cf 100644 --- a/web/src/components/listsTable/ListsTable.tsx +++ b/web/src/components/listsTable/ListsTable.tsx @@ -19,7 +19,6 @@ import { List } from "../../interfaces/List"; import { ListInfoButton } from "../ListInfoButton"; import { Maintainer } from "../../interfaces/Maintainer"; import { MaintainerCloud } from "../maintainerCloud"; -import { PaginationConfig } from "antd/lib/pagination"; import { RouteComponentProps } from "react-router"; import { Software } from "../../interfaces/Software"; import { Syntax } from "../../interfaces/Syntax"; @@ -29,6 +28,7 @@ import { Tag as TagInterface } from "../../interfaces/Tag"; import { arraySorter } from "./arraySorter"; import { nameof } from "../../utils"; import styles from "./ListsTable.module.css"; +import { TablePaginationConfig } from "antd/lib/table"; interface Props { lists: List[]; @@ -78,7 +78,7 @@ export const ListsTable = (props: RouteComponentProps & Props) => { : 1892, }} onChange={( - _pagination: PaginationConfig, + _pagination: TablePaginationConfig, _filters: Record, _sorter: SorterResult | SorterResult[], extra: TableCurrentDataSource