1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00
This commit is contained in:
Matthias Kretschmann 2020-07-30 11:26:22 +02:00
parent 5bc7b65265
commit a223ed603c
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -31,7 +31,7 @@ export default function Advanced(props: InputProps): ReactElement {
// Check: account, network & insuffciant balance // Check: account, network & insuffciant balance
useEffect(() => { useEffect(() => {
if (!account) { if (!account) {
setError(`No account detected. Please connect your wallet.`) setError(`No account connected. Please connect your Web3 wallet.`)
} else if (!correctNetwork) { } else if (!correctNetwork) {
setError(`Wrong Network. Please connect to ${desiredNetworkName}.`) setError(`Wrong Network. Please connect to ${desiredNetworkName}.`)
} else if (balance.ocean < ocean) { } else if (balance.ocean < ocean) {