feat: sync and update with all changes from fork (#720)
* feat: sync and update with all changes from fork * refactor: extract clipboard copy logic into custom hook * fix: correct spelling of DEFAULT_REFRESH_FREQUENCY_MS in Stamps and WalletBalance providers * refactor(ui-tests): replace fixed sleeps with condition-based waits * fix: handle null values for size and granteeCount in infoGroups * fix(lint): add newline at end of file in useClipboardCopy hook * fix(ui-tests): page.goto URL * refactor: update import paths for useClipboardCopy --------- Co-authored-by: Ferenc Sárai <sarai.ferenc@gmail.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import { Typography } from '@mui/material'
|
||||
import { ReactElement } from 'react'
|
||||
|
||||
import { ROUTES } from '../../routes'
|
||||
|
||||
import Balance from './Balance'
|
||||
|
||||
export function CryptoTopUpIndex(): ReactElement {
|
||||
return (
|
||||
<Balance
|
||||
header={'Top-up with cryptocurrencies'}
|
||||
title={'Send xDAI to the funding wallet below'}
|
||||
p={
|
||||
<Typography>
|
||||
For security reasons it is recommended to send maximum 5 to 10 xDAI. To get xDAI from DAI you may use{' '}
|
||||
<a href="https://bridge.gnosischain.com" rel="noreferrer" target="_blank">
|
||||
https://bridge.gnosischain.com
|
||||
</a>
|
||||
.
|
||||
</Typography>
|
||||
}
|
||||
next={ROUTES.TOP_UP_CRYPTO_SWAP}
|
||||
/>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user