Remove PronounSet.summary fallback

This commit is contained in:
nexy7574 2024-12-30 19:27:38 +00:00
parent a144b48315
commit a9384f969d

View file

@ -95,9 +95,7 @@ export default function UserExtendedProfile({ profile, client, userID }: Extende
{pronouns.length >= 1 && <> {pronouns.length >= 1 && <>
<div>Pronouns:</div> <div>Pronouns:</div>
<div> <div>
{pronouns.map((pronounSet: PronounSet) => ( {pronouns.map((pronounSet: PronounSet) => (pronounSet.summary)).join("/")}
pronounSet.summary || `${pronounSet.subject}/${pronounSet.object}`
)).join("/")}
</div> </div>
</>} </>}
</div> </div>