From 60be355991eaa69ba658346dcae11ccc697de2e3 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Thu, 19 Jun 2025 16:34:58 +0300 Subject: [PATCH] handle via, verified notifs --- src/lib/hooks/useNotificationHandler.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lib/hooks/useNotificationHandler.ts b/src/lib/hooks/useNotificationHandler.ts index fe6011b5c1..3a3d0156ec 100644 --- a/src/lib/hooks/useNotificationHandler.ts +++ b/src/lib/hooks/useNotificationHandler.ts @@ -28,6 +28,10 @@ export type NotificationReason = | 'quote' | 'chat-message' | 'starterpack-joined' + | 'like-via-repost' + | 'repost-via-repost' + | 'verified' + | 'unverified' /** * Manually overridden type, but retains the possibility of @@ -223,6 +227,10 @@ export function useNotificationsHandler() { case 'quote': case 'reply': case 'starterpack-joined': + case 'like-via-repost': + case 'repost-via-repost': + case 'verified': + case 'unverified': resetToTab('NotificationsTab') break // TODO implement these after we have an idea of how to handle each individual case