|
|
@ -14,11 +14,10 @@ import { getTokens } from '../../ducks/metamask/metamask' |
|
|
|
import { |
|
|
|
import { |
|
|
|
transactionFeeSelector, |
|
|
|
transactionFeeSelector, |
|
|
|
txDataSelector, |
|
|
|
txDataSelector, |
|
|
|
} from '../../selectors/confirm-transaction' |
|
|
|
|
|
|
|
import { |
|
|
|
|
|
|
|
getCurrentCurrency, |
|
|
|
getCurrentCurrency, |
|
|
|
getDomainMetadata, |
|
|
|
getDomainMetadata, |
|
|
|
} from '../../selectors/selectors' |
|
|
|
getNativeCurrency, |
|
|
|
|
|
|
|
} from '../../selectors' |
|
|
|
import { currentNetworkTxListSelector } from '../../selectors/transactions' |
|
|
|
import { currentNetworkTxListSelector } from '../../selectors/transactions' |
|
|
|
import { getCustomTxParamsData } from './confirm-approve.util' |
|
|
|
import { getCustomTxParamsData } from './confirm-approve.util' |
|
|
|
import ConfirmApproveContent from './confirm-approve-content' |
|
|
|
import ConfirmApproveContent from './confirm-approve-content' |
|
|
@ -32,6 +31,7 @@ export default function ConfirmApprove() { |
|
|
|
} = useSelector(txDataSelector) |
|
|
|
} = useSelector(txDataSelector) |
|
|
|
|
|
|
|
|
|
|
|
const currentCurrency = useSelector(getCurrentCurrency) |
|
|
|
const currentCurrency = useSelector(getCurrentCurrency) |
|
|
|
|
|
|
|
const nativeCurrency = useSelector(getNativeCurrency) |
|
|
|
const currentNetworkTxList = useSelector(currentNetworkTxListSelector) |
|
|
|
const currentNetworkTxList = useSelector(currentNetworkTxListSelector) |
|
|
|
const domainMetadata = useSelector(getDomainMetadata) |
|
|
|
const domainMetadata = useSelector(getDomainMetadata) |
|
|
|
const tokens = useSelector(getTokens) |
|
|
|
const tokens = useSelector(getTokens) |
|
|
@ -133,6 +133,7 @@ export default function ConfirmApprove() { |
|
|
|
data={customData || data} |
|
|
|
data={customData || data} |
|
|
|
toAddress={toAddress} |
|
|
|
toAddress={toAddress} |
|
|
|
currentCurrency={currentCurrency} |
|
|
|
currentCurrency={currentCurrency} |
|
|
|
|
|
|
|
nativeCurrency={nativeCurrency} |
|
|
|
ethTransactionTotal={ethTransactionTotal} |
|
|
|
ethTransactionTotal={ethTransactionTotal} |
|
|
|
fiatTransactionTotal={fiatTransactionTotal} |
|
|
|
fiatTransactionTotal={fiatTransactionTotal} |
|
|
|
/> |
|
|
|
/> |
|
|
|