mirror of
https://github.com/fullstack-cash/fullstack-gatsby-theme-bch-wallet.git
synced 2026-09-21 16:52:06 -07:00
Refresh token balance after token send
This commit is contained in:
@@ -163,8 +163,8 @@ class Tokens extends React.Component {
|
||||
}
|
||||
|
||||
// Wrapper for handleGetTokens()
|
||||
async onHandleGetTokens () {
|
||||
return _this.handleGetTokens()
|
||||
async onHandleGetTokens (refresh = null) {
|
||||
return _this.handleGetTokens(refresh)
|
||||
}
|
||||
|
||||
async componentDidMount () {
|
||||
|
||||
@@ -198,9 +198,10 @@ class SendTokens extends React.Component {
|
||||
})
|
||||
|
||||
_this.resetValues()
|
||||
|
||||
setTimeout(() => {
|
||||
_this.props.handleSend()
|
||||
}, 1000)
|
||||
_this.props.handleSend(true)
|
||||
}, 3000)
|
||||
} catch (error) {
|
||||
_this.handleError(error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user