diff --git a/src/components/profile-sections.tsx b/src/components/profile-sections.tsx index 2b3a501..ac2dbe8 100644 --- a/src/components/profile-sections.tsx +++ b/src/components/profile-sections.tsx @@ -35,7 +35,7 @@ export function ProfileSections({ did, handle, pds }: ProfileSectionsProps) { const [photos, scrobbles, documents, tangledRepos] = await Promise.all([ getRecentGrainPhotos(pds, did), getRecentRocksky(pds, did), - getRecentStandardDocuments(pds, did, handle), + getRecentStandardDocuments(pds, did), getMostStarredTangledRepos(pds, did, handle), ]); diff --git a/src/lib/providers/standard-site.ts b/src/lib/providers/standard-site.ts index 6f24d0e..a243248 100644 --- a/src/lib/providers/standard-site.ts +++ b/src/lib/providers/standard-site.ts @@ -32,7 +32,6 @@ const MAX_DOCUMENT_COUNT = 3; export async function getRecentStandardDocuments( pds: string, did: string, - handle: string | null, ): Promise { const documents = await listStandardDocuments(pds, did); @@ -46,9 +45,7 @@ export async function getRecentStandardDocuments( return { ...document, - link: - getDocumentLink(document.path, publicationUrl) ?? - getDocumentLink(document.path, handle), + link: getDocumentLink(document.path, publicationUrl), }; }), );