From 2382c767a64ef32bd140d43aeeb9f32fd9615870 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=A2=E3=83=AC=E3=82=AF=E3=82=B5=E3=83=B3=E3=83=80?= =?UTF-8?q?=E3=83=BC=2Eeth?= Date: Thu, 17 Oct 2024 05:11:16 +0900 Subject: [PATCH] chore: improve code formatting in GitHub notifications rendering files --- .../github-notifications/render-github-notifications.ts | 2 +- .../github-notifications/set-up-notification-element.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/home/rendering/github-notifications/render-github-notifications.ts b/src/home/rendering/github-notifications/render-github-notifications.ts index d7a398af..04613106 100644 --- a/src/home/rendering/github-notifications/render-github-notifications.ts +++ b/src/home/rendering/github-notifications/render-github-notifications.ts @@ -21,7 +21,7 @@ export async function renderGitHubNotifications() { } // Filter for unread notifications - const unreadNotifications = notifications.filter(notification => !notification.unread); + const unreadNotifications = notifications.filter((notification) => !notification.unread); const processedNotifications = await processNotifications(unreadNotifications, octokit); diff --git a/src/home/rendering/github-notifications/set-up-notification-element.ts b/src/home/rendering/github-notifications/set-up-notification-element.ts index 77302937..7c605059 100644 --- a/src/home/rendering/github-notifications/set-up-notification-element.ts +++ b/src/home/rendering/github-notifications/set-up-notification-element.ts @@ -33,7 +33,6 @@ export function setUpNotificationElement(notificationElement: HTMLDivElement, no
${notification.unread ? "🔵" : ""}
`; - notificationElement.addEventListener("click", () => { try { const notificationWrapper = notificationElement.parentElement;