Skip to content

Commit

Permalink
update revoke notifications channel
Browse files Browse the repository at this point in the history
  • Loading branch information
corlard3y committed Oct 22, 2024
1 parent 8a88039 commit e6165c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/modules/rewards/components/RewardsActivityIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ const RewardsActivityIcon: FC<RewardsActivityIconProp> = ({ type }) => {
);
}

if (type === 'channel_specific_subscriptions:REVOKE_NOTIFICATIONS') {
if (type === 'channel_specific_subscriptions:REVOKE_NOTIFICATIONS_CHANNEL') {
return (
<img
width={48}
Expand Down
2 changes: 1 addition & 1 deletion src/modules/rewards/utils/activityTypeArray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +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',
'channel_specific_subscriptions:REVOKE_NOTIFICATIONS_CHANNEL',
];

export const bonusRewardActivities: ActvityType[] = [
Expand Down
2 changes: 1 addition & 1 deletion src/queries/types/rewards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +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'
| 'channel_specific_subscriptions:REVOKE_NOTIFICATIONS_CHANNEL'
| 'stake_1k_push_epoch'
| 'stake_5k_push_epoch'
| 'stake_10k_push_epoch'
Expand Down

0 comments on commit e6165c7

Please sign in to comment.