Skip to content

Commit 07c97ac

Browse files
committed
Add fallback return in getLink for forward-compatible notification types
1 parent 6b1308b commit 07c97ac

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/web/app/(org)/dashboard/_components/Notifications/NotificationItem.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,6 @@ function getLink(notification: APINotification) {
127127
case "anon_view":
128128
return `/s/${notification.videoId}`;
129129
}
130+
131+
return `/s/${notification.videoId}`;
130132
}

0 commit comments

Comments
 (0)