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",
|
"name": "ghost-dao-interface",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.2.8",
|
"version": "0.2.9",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
@ -69,6 +69,7 @@ export const ClaimBonds = ({ chainId, address, secondsTo }) => {
|
|||||||
isPayoutGhst,
|
isPayoutGhst,
|
||||||
indexes
|
indexes
|
||||||
);
|
);
|
||||||
|
await notesRefetch();
|
||||||
setIsPending(false);
|
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) => {
|
export const purchaseBond = async (chainId, bondId, amount, maxPrice, user, sender, referral) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user