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