Skip to content

Commit 771c087

Browse files
committed
social cleanup
1 parent 2393004 commit 771c087

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/social/socialPane.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ export const socialPane = {
509509
requestsPanel.classList.toggle('social-primary__panel--active', showRequests)
510510
requestsPanel.setAttribute('aria-hidden', String(!showRequests))
511511
}
512-
/* The following function was generated by AI GPT-5.4 Model
512+
/* The following function was generated by AI GPT-5.4 Model
513513
Prompt: After friend is added when mutual checkbox is checked refresh
514514
mutual and header sections */
515515
const rebuildMutualSection = function () {

src/social/socialSections.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ export function createMutualSection (options: {
288288
line.appendChild(text(' say you know each other.'))
289289
}
290290

291-
const shouldShowCheckboxPreview = Boolean(incoming) && !Boolean(outgoing)
291+
const shouldShowCheckboxPreview = Boolean(incoming) && !outgoing
292292
if (shouldShowCheckboxPreview) {
293293
const confirmLabel = dom.createElement('span')
294294
confirmLabel.className = 'social-mutual-confirm-prompt'

src/social/triage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,4 @@ export async function loadFriendshipTriage (
101101
}
102102

103103
return triageFriends(store, subject)
104-
}
104+
}

test/unit/social/triage.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ describe('loadFriendshipTriage', () => {
8181
expect(triage.confirmed.map(node => node.value)).toEqual([bob.value])
8282
expect(triage.unconfirmed).toHaveLength(0)
8383
})
84-
})
84+
})

0 commit comments

Comments
 (0)