1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00

Remove non-existent metaMaskFee property (#9657)

The `metaMaskFee` property on the "quote data" PropType was not used,
and it never existed in practice. This resulted in PropType errors.

The non-existent property has been removed.
This commit is contained in:
Mark Stacey 2020-10-20 10:35:34 -02:30 committed by GitHub
parent c3fafe311e
commit 97450cd8fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 7 deletions

View File

@ -7,7 +7,6 @@ const quoteDataRows = [
destinationTokenValue: '100000000000000000000',
isBestQuote: false,
liquiditySource: 'AGG',
metaMaskFee: '1.00 DAI',
networkFees: '$15.25',
quoteSource: 'AGG',
rawNetworkFees: 10.25,
@ -24,7 +23,6 @@ const quoteDataRows = [
destinationTokenValue: '101000000000000000000',
isBestQuote: false,
liquiditySource: 'RFQ',
metaMaskFee: '1.01 DAI',
networkFees: '$14.26',
quoteSource: 'RFQ',
rawNetworkFees: 10.26,
@ -41,7 +39,6 @@ const quoteDataRows = [
destinationTokenValue: '102000000000000000000',
isBestQuote: false,
liquiditySource: 'DEX',
metaMaskFee: '1.02 DAI',
networkFees: '$13.27',
quoteSource: 'DEX',
rawNetworkFees: 10.27,
@ -58,7 +55,6 @@ const quoteDataRows = [
destinationTokenValue: '150000000000000000000',
isBestQuote: true,
liquiditySource: 'AGG',
metaMaskFee: '1.00 DAI',
networkFees: '$12.28',
quoteSource: 'AGG',
rawNetworkFees: 10.28,
@ -75,7 +71,6 @@ const quoteDataRows = [
destinationTokenValue: '104000000000000000000',
isBestQuote: false,
liquiditySource: 'RFQ',
metaMaskFee: '1.04 DAI',
networkFees: '$11.29',
quoteSource: 'RFQ',
rawNetworkFees: 10.29,
@ -92,7 +87,6 @@ const quoteDataRows = [
destinationTokenValue: '105000000000000000000',
isBestQuote: false,
liquiditySource: 'DEX',
metaMaskFee: '1.05 DAI',
networkFees: '$10.30',
quoteSource: 'DEX',
rawNetworkFees: 10.30,

View File

@ -8,7 +8,6 @@ export const QUOTE_DATA_ROWS_PROPTYPES_SHAPE = PropTypes.shape({
destinationTokenValue: PropTypes.string.isRequired,
isBestQuote: PropTypes.bool,
liquiditySource: PropTypes.string.isRequired,
metaMaskFee: PropTypes.string.isRequired,
networkFees: PropTypes.string.isRequired,
quoteSource: PropTypes.string.isRequired,
rawNetworkFees: PropTypes.number.isRequired,