Skip to content

Commit f28f6fd

Browse files
committed
refactor: notification handlers
Signed-off-by: Adam Setch <[email protected]>
1 parent e91c7ab commit f28f6fd

File tree

1 file changed

+0
-6
lines changed
  • src/renderer/utils/notifications/handlers

1 file changed

+0
-6
lines changed

src/renderer/utils/notifications/handlers/types.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,4 @@ export interface NotificationTypeHandler {
2323

2424
/** Return an icon component for this notification type. */
2525
getIcon(subject: Subject): FC<OcticonProps> | null;
26-
27-
/** Build a URL for this notification type (subject urls / comments resolved separately upstream). */
28-
buildUrl?(notification: Notification): Promise<Link> | Link;
29-
30-
/** Optional color helper if we later move color logic into handlers. */
31-
getIconColor?(subject: Subject): string | undefined;
3226
}

0 commit comments

Comments
 (0)