put the refresh in the finally block since the bin was being refreshed before that changes had occured

This commit is contained in:
csawatzky 2025-06-10 10:47:00 -06:00
parent 72190cb50d
commit 7b6dd72b90
2 changed files with 6 additions and 3 deletions

View file

@ -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) => {