handle via, verified notifs
This commit is contained in:
@@ -28,6 +28,10 @@ export type NotificationReason =
|
|||||||
| 'quote'
|
| 'quote'
|
||||||
| 'chat-message'
|
| 'chat-message'
|
||||||
| 'starterpack-joined'
|
| 'starterpack-joined'
|
||||||
|
| 'like-via-repost'
|
||||||
|
| 'repost-via-repost'
|
||||||
|
| 'verified'
|
||||||
|
| 'unverified'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Manually overridden type, but retains the possibility of
|
* Manually overridden type, but retains the possibility of
|
||||||
@@ -223,6 +227,10 @@ export function useNotificationsHandler() {
|
|||||||
case 'quote':
|
case 'quote':
|
||||||
case 'reply':
|
case 'reply':
|
||||||
case 'starterpack-joined':
|
case 'starterpack-joined':
|
||||||
|
case 'like-via-repost':
|
||||||
|
case 'repost-via-repost':
|
||||||
|
case 'verified':
|
||||||
|
case 'unverified':
|
||||||
resetToTab('NotificationsTab')
|
resetToTab('NotificationsTab')
|
||||||
break
|
break
|
||||||
// TODO implement these after we have an idea of how to handle each individual case
|
// TODO implement these after we have an idea of how to handle each individual case
|
||||||
|
|||||||
Reference in New Issue
Block a user