mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Replace use of 'destinationAmountInEth' property with 'destinationAmountInETH' (#10500)
This commit is contained in:
parent
9c4af85664
commit
e7a0ca134b
@ -51,7 +51,7 @@ describe('View Price Quote Difference', function () {
|
||||
calculationError: '',
|
||||
bucket: 'low',
|
||||
sourceAmountInETH: 1,
|
||||
destinationAmountInEth: 0.9921849150875727,
|
||||
destinationAmountInETH: 0.9921849150875727,
|
||||
},
|
||||
slippage: 2,
|
||||
sourceTokenInfo: {
|
||||
|
@ -510,7 +510,7 @@ export default function ViewQuote() {
|
||||
usedQuote?.priceSlippage?.sourceAmountInETH || 0,
|
||||
);
|
||||
const priceSlippageFromDestination = useEthFiatAmount(
|
||||
usedQuote?.priceSlippage?.destinationAmountInEth || 0,
|
||||
usedQuote?.priceSlippage?.destinationAmountInETH || 0,
|
||||
);
|
||||
|
||||
// We cannot present fiat value if there is a calculation error or no slippage
|
||||
|
Loading…
Reference in New Issue
Block a user