diff --git a/frontend/app/components/ui/Pagination/Pagination.tsx b/frontend/app/components/ui/Pagination/Pagination.tsx index 7ddea9b66..4d5a17943 100644 --- a/frontend/app/components/ui/Pagination/Pagination.tsx +++ b/frontend/app/components/ui/Pagination/Pagination.tsx @@ -1,8 +1,7 @@ import React from 'react'; -import { Icon, Tooltip } from 'UI'; -import cn from 'classnames'; +import { Pagination as AntPagination } from 'antd'; import { debounce } from 'App/utils'; -import { numberWithCommas } from 'App/utils'; + interface Props { page: number; totalPages: number; @@ -24,41 +23,16 @@ export default function Pagination(props: Props) { } }; - const isFirstPage = currentPage <= 1; - const isLastPage = currentPage === totalPages; return ( -