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:
parent
b050034338
commit
b59d6f30b4
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user