put the refresh in the finally block since the bin was being refreshed before that changes had occured
This commit is contained in:
parent
72190cb50d
commit
7b6dd72b90
2 changed files with 6 additions and 3 deletions
|
|
@ -162,8 +162,9 @@ export default function BinTransactions(props: Props){
|
|||
}
|
||||
}).catch(err => {
|
||||
openSnack("There was a problem submitting transaction approval")
|
||||
}).finally(() => {
|
||||
refresh()
|
||||
})
|
||||
refresh()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -174,9 +175,10 @@ export default function BinTransactions(props: Props){
|
|||
openSnack("Transaction rejected")
|
||||
}).catch(err => {
|
||||
openSnack("There was a problem rejecting the transaction")
|
||||
}).finally(() => {
|
||||
refresh()
|
||||
})
|
||||
}
|
||||
refresh()
|
||||
}
|
||||
|
||||
const getOptions = (type: pond.ObjectType) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue