diff --git a/src/pages/CrossChain/TransfersHistory/HistoryTable/Desktop.tsx b/src/pages/CrossChain/TransfersHistory/HistoryTable/Desktop.tsx index 1c285440e3..819a285f5a 100644 --- a/src/pages/CrossChain/TransfersHistory/HistoryTable/Desktop.tsx +++ b/src/pages/CrossChain/TransfersHistory/HistoryTable/Desktop.tsx @@ -2,7 +2,6 @@ import { Trans } from '@lingui/macro' import { Flex } from 'rebass' import styled, { css } from 'styled-components' -import { ITEMS_PER_PAGE } from 'pages/Bridge/consts' import TransactionItem from 'pages/CrossChain/TransfersHistory/HistoryTable/TransactionItem' import { Props } from './index' @@ -46,26 +45,6 @@ export const TableRow = styled.div` ` const Desktop: React.FC = ({ transfers }) => { - const renderInvisibleRows = () => { - // don't need invisible rows for upToExtraSmall screens - if (transfers.length === ITEMS_PER_PAGE) { - return null - } - - return Array(ITEMS_PER_PAGE - transfers.length) - .fill(0) - .map((_, i) => { - return ( - - ) - }) - } - return ( @@ -88,7 +67,6 @@ const Desktop: React.FC = ({ transfers }) => { {transfers.map(transfer => ( ))} - {renderInvisibleRows()} ) }