Add support for reward approval prompt
This commit is contained in:
parent
3ce551f106
commit
b8c5a0ed29
2 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,7 @@ export default function Notification(props: Props) {
|
|||
notificationTarget = `/$/${PAGES.CHANNELS_FOLLOWING}`;
|
||||
break;
|
||||
case NOTIFICATIONS.MISSED_OUT:
|
||||
case NOTIFICATIONS.REWARDS_APPROVAL_PROMPT:
|
||||
notificationTarget = `/$/${PAGES.REWARDS_VERIFY}?redirect=/$/${PAGES.REWARDS}`;
|
||||
break;
|
||||
default:
|
||||
|
@ -87,6 +88,7 @@ export default function Notification(props: Props) {
|
|||
case NOTIFICATIONS.DAILY_WATCH_AVAILABLE:
|
||||
case NOTIFICATIONS.DAILY_WATCH_REMIND:
|
||||
case NOTIFICATIONS.MISSED_OUT:
|
||||
case NOTIFICATIONS.REWARDS_APPROVAL_PROMPT:
|
||||
icon = <Icon icon={ICONS.LBC} sectionIcon />;
|
||||
break;
|
||||
default:
|
||||
|
|
|
@ -2,6 +2,7 @@ export const NOTIFICATION_CREATOR_SUBSCRIBER = 'creator_subscriber';
|
|||
export const NOTIFICATION_COMMENT = 'comment';
|
||||
export const NOTIFICATION_REPLY = 'comment-reply';
|
||||
export const MISSED_OUT = 'missed_out';
|
||||
export const REWARDS_APPROVAL_PROMPT = 'rewards_approval_prompt';
|
||||
export const DAILY_WATCH_AVAILABLE = 'daily_watch_available';
|
||||
export const DAILY_WATCH_REMIND = 'daily_watch_remind';
|
||||
export const NEW_CONTENT = 'new_content';
|
||||
|
|
Loading…
Reference in a new issue