mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +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: '',
|
calculationError: '',
|
||||||
bucket: 'low',
|
bucket: 'low',
|
||||||
sourceAmountInETH: 1,
|
sourceAmountInETH: 1,
|
||||||
destinationAmountInEth: 0.9921849150875727,
|
destinationAmountInETH: 0.9921849150875727,
|
||||||
},
|
},
|
||||||
slippage: 2,
|
slippage: 2,
|
||||||
sourceTokenInfo: {
|
sourceTokenInfo: {
|
||||||
|
@ -510,7 +510,7 @@ export default function ViewQuote() {
|
|||||||
usedQuote?.priceSlippage?.sourceAmountInETH || 0,
|
usedQuote?.priceSlippage?.sourceAmountInETH || 0,
|
||||||
);
|
);
|
||||||
const priceSlippageFromDestination = useEthFiatAmount(
|
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
|
// We cannot present fiat value if there is a calculation error or no slippage
|
||||||
|
Loading…
Reference in New Issue
Block a user