|
|
@ -19,6 +19,7 @@ import { |
|
|
|
getNativeCurrency, |
|
|
|
getNativeCurrency, |
|
|
|
} from '../../selectors'; |
|
|
|
} from '../../selectors'; |
|
|
|
import { currentNetworkTxListSelector } from '../../selectors/transactions'; |
|
|
|
import { currentNetworkTxListSelector } from '../../selectors/transactions'; |
|
|
|
|
|
|
|
import Loading from '../../components/ui/loading-screen'; |
|
|
|
import { getCustomTxParamsData } from './confirm-approve.util'; |
|
|
|
import { getCustomTxParamsData } from './confirm-approve.util'; |
|
|
|
import ConfirmApproveContent from './confirm-approve-content'; |
|
|
|
import ConfirmApproveContent from './confirm-approve-content'; |
|
|
|
|
|
|
|
|
|
|
@ -87,7 +88,7 @@ export default function ConfirmApprove() { |
|
|
|
? getCustomTxParamsData(data, { customPermissionAmount, decimals }) |
|
|
|
? getCustomTxParamsData(data, { customPermissionAmount, decimals }) |
|
|
|
: null; |
|
|
|
: null; |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return tokenSymbol ? ( |
|
|
|
<ConfirmTransactionBase |
|
|
|
<ConfirmTransactionBase |
|
|
|
toAddress={toAddress} |
|
|
|
toAddress={toAddress} |
|
|
|
identiconAddress={tokenAddress} |
|
|
|
identiconAddress={tokenAddress} |
|
|
@ -141,5 +142,7 @@ export default function ConfirmApprove() { |
|
|
|
hideSenderToRecipient |
|
|
|
hideSenderToRecipient |
|
|
|
customTxParamsData={customData} |
|
|
|
customTxParamsData={customData} |
|
|
|
/> |
|
|
|
/> |
|
|
|
|
|
|
|
) : ( |
|
|
|
|
|
|
|
<Loading /> |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|