update available bonds after claim
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
37c447ece5
commit
46ef25613c
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ghost-dao-interface",
|
||||
"private": true,
|
||||
"version": "0.2.8",
|
||||
"version": "0.2.9",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
@ -69,6 +69,7 @@ export const ClaimBonds = ({ chainId, address, secondsTo }) => {
|
||||
isPayoutGhst,
|
||||
indexes
|
||||
);
|
||||
await notesRefetch();
|
||||
setIsPending(false);
|
||||
}
|
||||
}
|
||||
|
@ -258,7 +258,7 @@ export const useNotes = (chainId, address) => {
|
||||
}
|
||||
}) : [];
|
||||
|
||||
return { notes };
|
||||
return { notes, refetch };
|
||||
}
|
||||
|
||||
export const purchaseBond = async (chainId, bondId, amount, maxPrice, user, sender, referral) => {
|
||||
|
Loading…
Reference in New Issue
Block a user