Skip to content

Commit a348952

Browse files
authored
Update helpers.ts
1 parent 0084a56 commit a348952

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/renderer/utils/helpers.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,9 @@ async function getDiscussionUrl(notification: Notification): Promise<Link> {
9090
if (discussion) {
9191
url.href = discussion.url;
9292

93-
const discussionComments = discussion.comments.nodes:
94-
9593
const closestComment = getClosestDiscussionCommentOrReply(
9694
notification,
97-
discussionComments,
95+
discussion.comments.nodes,
9896
);
9997
if (closestComment) {
10098
url.hash = `#discussioncomment-${closestComment.databaseId}`;

0 commit comments

Comments
 (0)