diff --git a/src/pages/status/NodeSetupWorkflow.tsx b/src/pages/status/NodeSetupWorkflow.tsx index f3cb4ce..ec81ce5 100644 --- a/src/pages/status/NodeSetupWorkflow.tsx +++ b/src/pages/status/NodeSetupWorkflow.tsx @@ -76,7 +76,7 @@ export default function NodeSetupWorkflow({ label: 'Deployed and Funded Chequebook', condition: chequebook.isOk, isLoading: chequebook.isLoading, - component: , + component: , }, { label: 'Connected to Node API', diff --git a/src/pages/status/SetupSteps/ChequebookDeployFund.tsx b/src/pages/status/SetupSteps/ChequebookDeployFund.tsx index ef28b58..2a0804e 100644 --- a/src/pages/status/SetupSteps/ChequebookDeployFund.tsx +++ b/src/pages/status/SetupSteps/ChequebookDeployFund.tsx @@ -1,12 +1,18 @@ import { Typography } from '@material-ui/core/' import EthereumAddress from '../../../components/EthereumAddress' import DepositModal from '../../../containers/DepositModal' -import CodeBlockTabs from '../../../components/CodeBlockTabs' import type { ReactElement } from 'react' -type Props = StatusChequebookHook +interface Props extends StatusChequebookHook { + ethereumAddress?: string +} -const ChequebookDeployFund = ({ isLoading, chequebookAddress, chequebookBalance }: Props): ReactElement | null => { +const ChequebookDeployFund = ({ + isLoading, + chequebookAddress, + chequebookBalance, + ethereumAddress, +}: Props): ReactElement | null => { if (isLoading) return null return ( @@ -15,17 +21,14 @@ const ChequebookDeployFund = ({ isLoading, chequebookAddress, chequebookBalance {chequebookAddress?.chequebookaddress && }

- {!(chequebookAddress?.chequebookaddress && chequebookBalance && chequebookBalance?.totalBalance > 0) && ( + {!(chequebookAddress?.chequebookaddress && chequebookBalance?.totalBalance > 0) && (
- Your chequebook is either not deployed or funded. Run the below commands to get your address and deposit - ETH. Then visit the BZZaar here{' '} - - https://bzz.ethswarm.org/?transaction=buy&amount=10&slippage=30&receiver=[ENTER_ADDRESS_HERE] - {' '} - to get BZZ + Your chequebook is either not deployed or funded. Join{' '} + our discord channel, get verified and send a message{' '} +
sprinkle {ethereumAddress || ''}
in the
#faucet-request
{' '} + channel to get Goerli ETH and Goerli BZZ token.
-
)}