Skip to content

Commit

Permalink
Merge pull request #98 from valory-xyz/tanya/fix-claim-veolas
Browse files Browse the repository at this point in the history
(govern) fix: claim button lost
  • Loading branch information
Tanya-atatakai authored Sep 9, 2024
2 parents e168adb + 3ed32b5 commit 10c477b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/govern/hooks/useFetchBalances.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const useFetchBalances = () => {
olasBalance: ethers.formatUnits(olasBalanceData.result as bigint, 18),
veOlasBalance: ethers.formatUnits(veOlasBalance as bigint, 18),
totalSupplyLocked: ethers.formatUnits(totalSupplyLockedData.result as bigint, 18),
lockedEnd: Number(lockedEnd) * 1000,
lockedEnd,
};
},
},
Expand Down Expand Up @@ -97,7 +97,7 @@ export const useFetchBalances = () => {
totalSupply: balanceData?.totalSupplyLocked,
olasBalance: balanceData?.olasBalance,
veOlasBalance: balanceData?.veOlasBalance,
lockedEnd: balanceData?.lockedEnd,
lockedEnd: balanceData ? Number(balanceData.lockedEnd) * 1000 : undefined,
canWithdrawVeolas,
canIncreaseAmountOrUnlock: balanceData ? Number(balanceData.veOlasBalance) > 0 : false,
refetch,
Expand Down

0 comments on commit 10c477b

Please sign in to comment.