Don't show gas calculations in send funds review
This commit is contained in:
parent
387ea01d5e
commit
d6cce5e446
|
@ -79,7 +79,6 @@ const ReviewTx = ({
|
||||||
}
|
}
|
||||||
|
|
||||||
const estimatedGasCosts = await estimateApprovalTxGasCosts(safeAddress, txRecipient, txData)
|
const estimatedGasCosts = await estimateApprovalTxGasCosts(safeAddress, txRecipient, txData)
|
||||||
console.log({ estimatedGasCosts })
|
|
||||||
const gasCostsAsEth = fromWei(toBN(estimatedGasCosts), 'ether')
|
const gasCostsAsEth = fromWei(toBN(estimatedGasCosts), 'ether')
|
||||||
const roundedGasCosts = parseFloat(gasCostsAsEth).toFixed(3)
|
const roundedGasCosts = parseFloat(gasCostsAsEth).toFixed(3)
|
||||||
if (isCurrent) {
|
if (isCurrent) {
|
||||||
|
@ -180,9 +179,6 @@ const ReviewTx = ({
|
||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Row>
|
</Row>
|
||||||
</Block>
|
</Block>
|
||||||
<Row>
|
|
||||||
<Paragraph>{`Gas costs: ${gasCosts}`}</Paragraph>
|
|
||||||
</Row>
|
|
||||||
<Hairline style={{ position: 'absolute', bottom: 85 }} />
|
<Hairline style={{ position: 'absolute', bottom: 85 }} />
|
||||||
<Row align="center" className={classes.buttonRow}>
|
<Row align="center" className={classes.buttonRow}>
|
||||||
<Button minWidth={140} onClick={() => setActiveScreen('sendFunds')}>
|
<Button minWidth={140} onClick={() => setActiveScreen('sendFunds')}>
|
||||||
|
|
Loading…
Reference in New Issue