change button text when proposal succeeded

Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
Uncle Fatso 2026-02-19 17:23:45 +03:00
parent 44f927faf8
commit 6f0e5e2af3
Signed by: f4ts0
GPG Key ID: 565F4F2860226EBB
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
"name": "ghost-dao-interface",
"private": true,
"version": "0.5.25",
"version": "0.5.26",
"type": "module",
"scripts": {
"dev": "vite",

View File

@ -413,7 +413,7 @@ const VotingTimeline = ({ connect, handleExecute, handleRelease, proposalLocked,
disabled={isPending || state !== 4}
onClick={() => address === "" ? connect() : handleExecute()}
>
{address === "" ? "Connect" : convertStatusToLabel(state)}
{address === "" ? "Connect" : state === 4 ? "Execute" : convertStatusToLabel(state)}
</SecondaryButton>
</Box>
</Box>