From 6184f2c9597d0585b76b6de3c517bdfb15f41778 Mon Sep 17 00:00:00 2001 From: Jaco Date: Wed, 30 Jun 2021 12:53:55 +0300 Subject: [PATCH] Warn about off-chain contributions (#5723) * Warn about off-chain contributions * Expand description * Expand * Tweak --- packages/page-parachains/src/Crowdloan/Funds.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/page-parachains/src/Crowdloan/Funds.tsx b/packages/page-parachains/src/Crowdloan/Funds.tsx index 9de25506cb..527c0dead5 100644 --- a/packages/page-parachains/src/Crowdloan/Funds.tsx +++ b/packages/page-parachains/src/Crowdloan/Funds.tsx @@ -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 ( <> + ('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.')} + /> ('No active campaigns found')}