Warn about off-chain contributions (#5723)
* Warn about off-chain contributions * Expand description * Expand * Tweak
This commit is contained in:
parent
d6ccc59831
commit
6184f2c959
@ -7,7 +7,7 @@ import type { Campaign, LeasePeriod } from '../types';
|
||||
|
||||
import React, { useMemo, useRef } from 'react';
|
||||
|
||||
import { Table } from '@polkadot/react-components';
|
||||
import { MarkWarning, Table } from '@polkadot/react-components';
|
||||
import { useBestHash, useIsParasLinked } from '@polkadot/react-hooks';
|
||||
|
||||
import { useTranslation } from '../translate';
|
||||
@ -85,6 +85,10 @@ function Funds ({ bestNumber, className, leasePeriod, value }: Props): React.Rea
|
||||
|
||||
return (
|
||||
<>
|
||||
<MarkWarning
|
||||
className='warning centered'
|
||||
content={t<string>('Do not transfer any funds directly to a specific account that is associated with a loan or a team. Use the "Contribute" action to record the contribution on-chain using the crowdloan runtime module. When the fund is dissolved, after either the parachain lease expires or the loan ending without winning, the full value will be returned to your account by the runtime. Funds sent directly to an account, without using the crowdloan functionality, may not be returned by the receiving account.')}
|
||||
/>
|
||||
<Table
|
||||
className={className}
|
||||
empty={value && activeSorted && t<string>('No active campaigns found')}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user