Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
cjinghong committed May 7, 2024
1 parent f5732d9 commit 0128411
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions governance/src/components/Wallet/Airdrop/AirdropInfo.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
import { AnimatePresence, motion } from "framer-motion";
import React, { useCallback, useMemo, useState } from "react";
import { BarChartIcon, ExternalIcon } from "shared/lib/assets/icons/icons";
import { BarChartIcon } from "shared/lib/assets/icons/icons";
import Logo from "shared/lib/assets/icons/logo";
import ButtonArrow from "shared/lib/components/Common/ButtonArrow";
import {
ActionButton,
ConnectWalletButton,
} from "shared/lib/components/Common/buttons";
import {
BaseLink,
BaseModalContentColumn,
SecondaryText,
Subtitle,
Title,
Title
} from "shared/lib/designSystem";
import colors from "shared/lib/designSystem/colors";
import theme from "shared/lib/designSystem/theme";
Expand Down Expand Up @@ -79,19 +78,6 @@ const AirdropExplanationText = styled(Subtitle)`
text-align: center;
`;

const LearnMoreLink = styled(BaseLink)`
display: flex;
align-items: center;
span {
text-decoration: underline;
}
`;

const LearnMoreIcon = styled(ExternalIcon)`
margin-left: 8px;
`;

const BreakdownContainer = styled(motion.div)`
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -249,7 +235,7 @@ const AirdropInfo: React.FC<AirdropInfoProps> = ({
<ActionButton
className="btn py-3 mb-2"
onClick={onClaim}
disabled={airdropInfo?.unclaimedAmount.isZero()}
disabled={!airdropInfo || airdropInfo?.unclaimedAmount.isZero()}
>
CLAIM $RBN AIRDROP
</ActionButton>
Expand Down Expand Up @@ -333,4 +319,3 @@ const AirdropInfo: React.FC<AirdropInfoProps> = ({

export default AirdropInfo;

// export const x = ""

0 comments on commit 0128411

Please sign in to comment.