Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Hide claim button for claiming/claimed states
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolin committed Jan 20, 2022
1 parent 5aab634 commit c2f9973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/custom/pages/Claim/FooterNavButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default function FooterNavButtons({
}

// User has no set active claim account and/or has claims, show claim account search
if (!activeClaimAccount || !hasClaims) {
if ((!activeClaimAccount || !hasClaims) && claimStatus === ClaimStatus.DEFAULT) {
buttonContent = (
<ButtonPrimary disabled={!isInputAddressValid} type="text" onClick={handleCheckClaim}>
<Trans>Check claimable vCOW</Trans>
Expand Down

0 comments on commit c2f9973

Please sign in to comment.