1
0
mirror of https://github.com/dap-ps/discover.git synced 2025-02-07 15:05:07 +00:00

fix: withdraw amount

This commit is contained in:
Richard Ramos 2019-08-14 12:56:57 -04:00 committed by Andy Tudhope
parent b050034338
commit b59d6f30b4

View File

@ -38,8 +38,9 @@ class Withdraw extends React.Component {
} }
onWithdraw() { onWithdraw() {
const { dapp, sntValue, onWithdraw } = this.props const { dapp, onWithdraw } = this.props
onWithdraw(dapp, parseInt(sntValue, 10)) const { withdrawAmount } = this.state
onWithdraw(dapp, parseInt(withdrawAmount, 10))
} }
handleSNTChange(e) { handleSNTChange(e) {