fix for the release locked handle
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
de84f8e40f
commit
83761d54ca
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ghost-dao-interface",
|
"name": "ghost-dao-interface",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.5.31",
|
"version": "0.5.32",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@ -188,7 +188,7 @@ const ProposalDetails = ({ chainId, address, connect, config }) => {
|
|||||||
setIsPending(false);
|
setIsPending(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleRelease = async (proposalId) => {
|
const handleRelease = async () => {
|
||||||
setIsPending(true);
|
setIsPending(true);
|
||||||
await releaseLocked(chainId, address, proposalId);
|
await releaseLocked(chainId, address, proposalId);
|
||||||
await queryClient.invalidateQueries();
|
await queryClient.invalidateQueries();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user