diff --git a/src/components/UniversalPostRenderer.tsx b/src/components/UniversalPostRenderer.tsx index c0e7996..7318a8d 100644 --- a/src/components/UniversalPostRenderer.tsx +++ b/src/components/UniversalPostRenderer.tsx @@ -474,6 +474,7 @@ export function UniversalPostRendererRawRecordShim({ viewer: undefined, labels: profileRecord?.labels || undefined, verification: undefined, + pronouns: profileRecord?.value?.pronouns || undefined, }), [imgcdn, profileRecord, resolved?.did, resolved?.handle], ); @@ -710,6 +711,8 @@ export function UniversalPostRenderer({ (label) => ghld(label.src, label.val)?.pref === "warn", ); + // add user pronouns + const pronoun = post.author.pronouns || undefined const informCombinedLabels: LabelWithHydratedLocaleName[] = combinedLabels.flatMap( (label) => { if (ghld(label.src, label.val)?.severity === "inform" && ghld(label.src, label.val)?.pref === "warn") { @@ -1263,6 +1266,12 @@ export function UniversalPostRenderer({ ) : (
+ {pronoun && ( + + )} {informCombinedLabels.map((label, index) => ( {/* authorLabels{JSON.stringify(authorLabels,null,2)} */} + {pronoun && ( + + )} {informAuthorLabels.map((label, index) => ( ))}