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) => {