diff --git a/governance/src/components/Wallet/Airdrop/AirdropInfo.tsx b/governance/src/components/Wallet/Airdrop/AirdropInfo.tsx index 8d266a4c..b2ba2774 100644 --- a/governance/src/components/Wallet/Airdrop/AirdropInfo.tsx +++ b/governance/src/components/Wallet/Airdrop/AirdropInfo.tsx @@ -242,7 +242,7 @@ const AirdropInfo: React.FC = ({ loading, airdropInfo, onClaim - + <Title fontSize={56} lineHeight={56}> {loading ? loadingText : airdropAmountStr} @@ -297,7 +297,7 @@ const AirdropInfo: React.FC = ({ loading, airdropInfo, onClaim - + <Title fontSize={48} lineHeight={48}> {airdropAmountStr} diff --git a/governance/src/components/Wallet/Airdrop/AirdropModal.tsx b/governance/src/components/Wallet/Airdrop/AirdropModal.tsx index e38d0aaa..e5e12c58 100644 --- a/governance/src/components/Wallet/Airdrop/AirdropModal.tsx +++ b/governance/src/components/Wallet/Airdrop/AirdropModal.tsx @@ -52,6 +52,7 @@ const AirdropModal: React.FC = ({ show, onClose }) => { await provider.waitForTransaction(txhash, 2); setStep("claimed"); } catch (err) { + console.error(err) setStep("info"); } }, [ diff --git a/governance/src/hooks/airdrop/useAirdrop.ts b/governance/src/hooks/airdrop/useAirdrop.ts index c761b3f6..4d2d89c2 100644 --- a/governance/src/hooks/airdrop/useAirdrop.ts +++ b/governance/src/hooks/airdrop/useAirdrop.ts @@ -84,7 +84,7 @@ const useAirdrop = () => { proof: { ...airdropClaim, amount: BigNumber.from(airdropClaim.amount) }, breakdown: { [AirdropBreakdownKeys.maxStaked]: !totalBn.isZero(), - [AirdropBreakdownKeys.heldRbnAfterTGE]: airdropBreakdown[account]?.heldRbnAfterTGE + [AirdropBreakdownKeys.heldRbnAfterTGE]: airdropBreakdown[account.toLowerCase()]?.heldRbnAfterTGE }, unclaimedAmount: totalBn.sub(claimedAmount) });