fix(projects): keep hooks within file-size gate

Condense project-fetch documentation so the merged hook remains within the enforced desktop file-size ceiling.

Signed-off-by: Thomas Petersen <thomasp@squareup.com>
This commit is contained in:
Thomas Petersen
2026-08-22 12:54:43 -04:00
parent 937b7fffe6
commit b9dd087544

View File

@@ -173,8 +173,7 @@ export async function fetchProjects(
): Promise<Project[]> {
// Delegates to `buildProjectsFromFetcher` in `projectEnumeration.ts`, which
// is the pure, Tauri-free core of this operation. That helper's javadoc
// explains the fail-closed tombstone contract and the NIP-OA owner-deletion
// relay-side-suppression decision.
// explains fail-closed tombstones and NIP-OA owner-deletion suppression.
const viewerPubkey = await getIdentity()
.then((identity) => identity.pubkey)
.catch(() => undefined);