@@ -1,5 +1,5 @@
1import React from 'react';
1import React from 'react';
2−import { fromWei } from 'web3-utils';
2+import { fromWei, toBN } from 'web3-utils';
4import Highlighted from './Highlighted';
4import Highlighted from './Highlighted';
5import CopiableAddress from './CopiableAddress';
5import CopiableAddress from './CopiableAddress';
@@ -16,9 +16,9 @@ export default function NeedFundsNotice({
16 <WarningBox {...rest}>
16 <WarningBox {...rest}>
17 <Highlighted warning>
17 <Highlighted warning>
18 Your ownership address <CopiableAddress>{address}</CopiableAddress>{' '}
18 Your ownership address <CopiableAddress>{address}</CopiableAddress>{' '}
19− needs at least {fromWei(minBalance)} ETH and currently has{' '}
19+ needs at least {fromWei(toBN(minBalance))} ETH and currently has{' '}
20− {fromWei(balance)} ETH. The transaction will automatically resume once
20+ {fromWei(toBN(balance))} ETH. The transaction will automatically resume
21− enough ETH is available. Waiting... <Blinky />
21+ once enough ETH is available. Waiting... <Blinky />
22 </Highlighted>
22 </Highlighted>
23 </WarningBox>
23 </WarningBox>