diff --git a/common/components/GenerateTransaction/GenerateTransaction.tsx b/common/components/GenerateTransaction/GenerateTransaction.tsx index 151ce558..f6ea3eb9 100644 --- a/common/components/GenerateTransaction/GenerateTransaction.tsx +++ b/common/components/GenerateTransaction/GenerateTransaction.tsx @@ -4,7 +4,7 @@ import EthTx from 'ethereumjs-tx'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import { AppState } from 'reducers'; -import { getTransaction, isNetworkRequestPending } from 'selectors/transaction'; +import { getTransaction, isNetworkRequestPending, isValidAmount } from 'selectors/transaction'; import { getWalletType } from 'selectors/wallet'; interface StateProps { @@ -12,17 +12,24 @@ interface StateProps { networkRequestPending: boolean; isFullTransaction: boolean; isWeb3Wallet: boolean; + validAmount: boolean; } class GenerateTransactionClass extends Component { public render() { - const { isFullTransaction, isWeb3Wallet, transaction, networkRequestPending } = this.props; + const { + isFullTransaction, + isWeb3Wallet, + transaction, + networkRequestPending, + validAmount + } = this.props; return ( (