Fix View Full Thread (#2181)

This commit is contained in:
dan
2023-12-12 19:31:02 +00:00
committed by GitHub
parent 2f8e7b2656
commit 27561ae79f
+5 -5
View File
@@ -7,11 +7,11 @@ export function makeProfileLink(
}, },
...segments: string[] ...segments: string[]
) { ) {
return [ let handleSegment = info.did
`/profile`, if (info.handle && !isInvalidHandle(info.handle)) {
`${isInvalidHandle(info.handle) ? info.did : info.handle}`, handleSegment = info.handle
...segments, }
].join('/') return [`/profile`, handleSegment, ...segments].join('/')
} }
export function makeCustomFeedLink( export function makeCustomFeedLink(