Skip to content

Commit

Permalink
Merge pull request #59 from hemilabs/fix-claim-button
Browse files Browse the repository at this point in the history
Fixed claim button to be disable when holding is not claimable
  • Loading branch information
alvarengathomas authored Dec 11, 2024
2 parents 45743d6 + 45b3923 commit f3fe23e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions site/pages/[locale]/merkle-claims.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,11 @@ function MerkleClaims() {
toFixed(fromUnit(holding.amount, holding.token.decimals), 6)
}
/>
{/* TODO disable the button if not claimable! */}
<div className="mt-8">
<CallToAction>
<Button
className="flex justify-center"
disabled={!claimID}
disabled={!holding.isClaimable}
onClick={handleClaimSubmit}
>
{t('claim')}
Expand Down

0 comments on commit f3fe23e

Please sign in to comment.