From 1b3a4a60805e978decc718997dbbdb07badef3f3 Mon Sep 17 00:00:00 2001 From: yashablack Date: Sun, 15 Oct 2023 21:36:39 +0300 Subject: [PATCH] fix: close airdrop --- .../Rewards/RewardsDashboard/RewardsDashboard.tsx | 10 ++-------- .../RewardsDashboardSection.tsx | 2 +- .../Rewards/Tags/RewardStatusTag/RewardStatusTag.tsx | 2 +- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/pages/Rewards/RewardsDashboard/RewardsDashboard.tsx b/src/pages/Rewards/RewardsDashboard/RewardsDashboard.tsx index f5b111b45..d202fb8f3 100644 --- a/src/pages/Rewards/RewardsDashboard/RewardsDashboard.tsx +++ b/src/pages/Rewards/RewardsDashboard/RewardsDashboard.tsx @@ -152,7 +152,7 @@ export const RewardsDashboard: FC = ({ = ({ key="airdrop-alert" type="info" showIcon - message={ - - You are not eligible for airdrop rewards. Provide liquidity or - stake ADA in the ISPO to get rewarded. - - } + message={The testnet airdrop claiming is closed.} />, ]} - data={rewardsData.airdropRewards} /> diff --git a/src/pages/Rewards/RewardsDashboard/RewardsDashboardSection/RewardsDashboardSection.tsx b/src/pages/Rewards/RewardsDashboard/RewardsDashboardSection/RewardsDashboardSection.tsx index 98ac47890..a75e2dfee 100644 --- a/src/pages/Rewards/RewardsDashboard/RewardsDashboardSection/RewardsDashboardSection.tsx +++ b/src/pages/Rewards/RewardsDashboard/RewardsDashboardSection/RewardsDashboardSection.tsx @@ -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 = ({ title, diff --git a/src/pages/Rewards/Tags/RewardStatusTag/RewardStatusTag.tsx b/src/pages/Rewards/Tags/RewardStatusTag/RewardStatusTag.tsx index 46b586de1..850146fbf 100644 --- a/src/pages/Rewards/Tags/RewardStatusTag/RewardStatusTag.tsx +++ b/src/pages/Rewards/Tags/RewardStatusTag/RewardStatusTag.tsx @@ -12,7 +12,7 @@ export const RewardStatusTag = ({ status }) => { return ( }> - Finished + Closed ); };