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",
|
||||
"private": true,
|
||||
"version": "0.5.31",
|
||||
"version": "0.5.32",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@ -188,7 +188,7 @@ const ProposalDetails = ({ chainId, address, connect, config }) => {
|
||||
setIsPending(false);
|
||||
}
|
||||
|
||||
const handleRelease = async (proposalId) => {
|
||||
const handleRelease = async () => {
|
||||
setIsPending(true);
|
||||
await releaseLocked(chainId, address, proposalId);
|
||||
await queryClient.invalidateQueries();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user