Skip to content

Commit

Permalink
Merge branch 'master' of github.com:spectrum-finance/interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Ridel1e committed Oct 16, 2023
2 parents 7102ffb + d27e3ae commit 90efbbb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
10 changes: 2 additions & 8 deletions src/pages/Rewards/RewardsDashboard/RewardsDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export const RewardsDashboard: FC<RewardsDashboardProps> = ({
</Flex.Item>
<Flex.Item marginBottom={4}>
<RewardsDashboardSection
title={t`Airdrop`}
title={t`Testnet Airdrop`}
tags={[
<RewardStatusTag
key="reward-status-tag-airdrop"
Expand All @@ -164,15 +164,9 @@ export const RewardsDashboard: FC<RewardsDashboardProps> = ({
key="airdrop-alert"
type="info"
showIcon
message={
<Trans>
You are not eligible for airdrop rewards. Provide liquidity or
stake ADA in the ISPO to get rewarded.
</Trans>
}
message={<Trans>The testnet airdrop claiming is closed.</Trans>}
/>,
]}
data={rewardsData.airdropRewards}
/>
</Flex.Item>
<Flex.Item marginBottom={4}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ interface RewardsDashboardSectionProps {
readonly upcomingTooltipText?: ReactNode | string;
readonly infoTooltipWidth?: number;
readonly button?: ReactNode;
readonly data: RewardSection | undefined;
readonly data?: RewardSection | undefined;
}
export const RewardsDashboardSection: FC<RewardsDashboardSectionProps> = ({
title,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Rewards/Tags/RewardStatusTag/RewardStatusTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const RewardStatusTag = ({ status }) => {

return (
<Tag color="success" icon={<CheckCircleOutlined />}>
<Trans>Finished</Trans>
<Trans>Closed</Trans>
</Tag>
);
};

0 comments on commit 90efbbb

Please sign in to comment.