mirror of
https://github.com/dap-ps/discover.git
synced 2025-02-07 06:54:49 +00:00
fix: withdraw amount
This commit is contained in:
parent
b050034338
commit
b59d6f30b4
@ -38,8 +38,9 @@ class Withdraw extends React.Component {
|
||||
}
|
||||
|
||||
onWithdraw() {
|
||||
const { dapp, sntValue, onWithdraw } = this.props
|
||||
onWithdraw(dapp, parseInt(sntValue, 10))
|
||||
const { dapp, onWithdraw } = this.props
|
||||
const { withdrawAmount } = this.state
|
||||
onWithdraw(dapp, parseInt(withdrawAmount, 10))
|
||||
}
|
||||
|
||||
handleSNTChange(e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user