From 2225cb7351edbedea8659af8c66e3961244be48e Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 25 Jul 2026 12:48:03 -0400 Subject: [PATCH] lib/profilePage: fetch stars concurrently --- src/lib/profilePage.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/profilePage.ts b/src/lib/profilePage.ts index 5ff575d..cecb35e 100644 --- a/src/lib/profilePage.ts +++ b/src/lib/profilePage.ts @@ -25,16 +25,16 @@ export type ProfilePageData = { export async function loadProfilePage(handle: Handle): Promise { const identity = await resolveMiniDoc(handle) - const stars = await listStarsBy(identity.did) - const repoDids = getRepoDidsFromStars(stars) - const [actor, repos, vouches, strings] = await Promise.all([ + const [actor, stars, repos, vouches, strings] = await Promise.all([ resolveActor(identity.did), + listStarsBy(identity.did), listRepos(identity.did), listVouches(identity.did), listStrings(identity.did), ]) const profile = actor.profile + const repoDids = getRepoDidsFromStars(stars) const ownerDocs = new Map>() const getOwner = (identifier: string) => { -- 2.51.2