diff --git a/packages/page-parachains/src/Crowdloan/Fund.tsx b/packages/page-parachains/src/Crowdloan/Fund.tsx index e7b90acd52..98909f2ec6 100644 --- a/packages/page-parachains/src/Crowdloan/Fund.tsx +++ b/packages/page-parachains/src/Crowdloan/Fund.tsx @@ -6,7 +6,7 @@ import type { Campaign, LeasePeriod } from '../types'; import React, { useMemo } from 'react'; -import { AddressMini, Expander, Icon, ParaLink, TxButton } from '@polkadot/react-components'; +import { AddressMini, Expander, ParaLink, TxButton } from '@polkadot/react-components'; import { useAccounts, useApi, useParaEndpoints } from '@polkadot/react-hooks'; import { BlockToTime, FormatBalance } from '@polkadot/react-query'; import { formatNumber } from '@polkadot/util'; @@ -105,12 +105,6 @@ function Fund ({ bestNumber, className, isOdd, isOngoing, leasePeriod, value: { formatNumber(contributorsHex.length) )} - - - {canWithdraw && contributorsHex.length !== 0 && ( @@ -144,7 +138,12 @@ function Fund ({ bestNumber, className, isOdd, isOngoing, leasePeriod, value: { - + + + {myAccounts.length !== 0 && ( ('My contributions ({{count}})', { replace: { count: myAccounts.length } })}> {myAccounts.map((a, index) => ( @@ -158,11 +157,7 @@ function Fund ({ bestNumber, className, isOdd, isOngoing, leasePeriod, value: { )} - - - -