diff --git a/src/common/Common.baseLogos.ts b/src/common/Common.baseLogos.ts index 82e97f3813..0cc673e50d 100644 --- a/src/common/Common.baseLogos.ts +++ b/src/common/Common.baseLogos.ts @@ -9,3 +9,6 @@ export const walletTrackerLogo = export const shapeShiftLogo = 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gIoSUNDX1BST0ZJTEUAAQEAAAIYAAAAAAQwAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAAHRyWFlaAAABZAAAABRnWFlaAAABeAAAABRiWFlaAAABjAAAABRyVFJDAAABoAAAAChnVFJDAAABoAAAAChiVFJDAAABoAAAACh3dHB0AAAByAAAABRjcHJ0AAAB3AAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAFgAAAAcAHMAUgBHAEIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFhZWiAAAAAAAABvogAAOPUAAAOQWFlaIAAAAAAAAGKZAAC3hQAAGNpYWVogAAAAAAAAJKAAAA+EAAC2z3BhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABYWVogAAAAAAAA9tYAAQAAAADTLW1sdWMAAAAAAAAAAQAAAAxlblVTAAAAIAAAABwARwBvAG8AZwBsAGUAIABJAG4AYwAuACAAMgAwADEANv/bAEMABgQFBgUEBgYFBgcHBggKEAoKCQkKFA4PDBAXFBgYFxQWFhodJR8aGyMcFhYgLCAjJicpKikZHy0wLSgwJSgpKP/bAEMBBwcHCggKEwoKEygaFhooKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgo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/components/RewardsActivityIcon.tsx b/src/modules/rewards/components/RewardsActivityIcon.tsx index f4fb06dcf9..4f2104f72c 100644 --- a/src/modules/rewards/components/RewardsActivityIcon.tsx +++ b/src/modules/rewards/components/RewardsActivityIcon.tsx @@ -30,7 +30,7 @@ import { PushAlpha, CyberLogoRewards, } from 'blocks'; -import { quickSwapLogo, priceTrackerLogo, walletTrackerLogo, shapeShiftLogo } from 'common'; +import { quickSwapLogo, priceTrackerLogo, walletTrackerLogo, shapeShiftLogo, revokeLogo } from 'common'; import { ActvityType } from 'queries'; type RewardsActivityIconProp = { @@ -217,6 +217,17 @@ const RewardsActivityIcon: FC = ({ type }) => { ); } + if (type === 'channel_specific_subscriptions:REVOKE_NOTIFICATIONS') { + return ( + + ); + } + if (type === 'stake_1_uni_v2_lp_epoch' || type === 'stake_1k_push_epoch') { return ( { updateResetDate(latestTimestamp); } - // console.log(isEpochActive, 'isEpochActive', isPastSevenDays, 'isPastSevenDays'); - if (!isEpochActive && isPastSevenDays) { setResetEpoch(true); console.log(`${stakeType} epoch is reset`); diff --git a/src/modules/rewards/utils/activityTypeArray.ts b/src/modules/rewards/utils/activityTypeArray.ts index 1aed2807f5..5afbb9dbac 100644 --- a/src/modules/rewards/utils/activityTypeArray.ts +++ b/src/modules/rewards/utils/activityTypeArray.ts @@ -16,6 +16,7 @@ export const channelSubscriptionActivities: ActvityType[] = [ 'channel_specific_subscriptions:WALLETTRACKER_CHANNEL', 'channel_specific_subscriptions:SHAPESHIFT_CHANNEL', 'channel_specific_subscriptions:CYBER_CHANNEL', + 'channel_specific_subscriptions:REVOKE_NOTIFICATIONS', ]; export const bonusRewardActivities: ActvityType[] = [ diff --git a/src/queries/types/rewards.ts b/src/queries/types/rewards.ts index 085ced02f2..b3115eaff9 100644 --- a/src/queries/types/rewards.ts +++ b/src/queries/types/rewards.ts @@ -36,6 +36,7 @@ export type ActvityType = | 'channel_specific_subscriptions:PRICETRACKER_CHANNEL' | 'channel_specific_subscriptions:SHAPESHIFT_CHANNEL' | 'channel_specific_subscriptions:CYBER_CHANNEL' + | 'channel_specific_subscriptions:REVOKE_NOTIFICATIONS' | 'stake_1k_push_epoch' | 'stake_5k_push_epoch' | 'stake_10k_push_epoch'