diff --git a/app/components/Dashboard/SimpleDepositWithdraw.jsx b/app/components/Dashboard/SimpleDepositWithdraw.jsx index a9d0838393..aad36e5da8 100644 --- a/app/components/Dashboard/SimpleDepositWithdraw.jsx +++ b/app/components/Dashboard/SimpleDepositWithdraw.jsx @@ -18,11 +18,12 @@ import { checkFeeStatusAsync, checkBalance } from "common/trxHelper"; import AssetName from "../Utility/AssetName"; import { ChainStore } from "bitsharesjs/es"; import { debounce } from "lodash"; +import {DecimalChecker} from "../Exchange/ExchangeInput"; // import DepositFiatOpenLedger from "components/DepositWithdraw/openledger/DepositFiatOpenLedger"; // import WithdrawFiatOpenLedger from "components/DepositWithdraw/openledger/WithdrawFiatOpenLedger"; -class DepositWithdrawContent extends React.Component { +class DepositWithdrawContent extends DecimalChecker { static propTypes = { sender: ChainTypes.ChainAccount.isRequired, @@ -315,6 +316,7 @@ class DepositWithdrawContent extends React.Component { } _renderWithdraw() { + const {amountError} = this.state; const {name: assetName} = utils.replaceName(this.props.asset.get("symbol"), !!this.props.asset.get("bitasset")); let tabIndex = 1; const {supportsMemos} = this.props; @@ -346,20 +348,28 @@ class DepositWithdrawContent extends React.Component {