[Glitch] Fix fields not having links

Port 496d41cdcec25a519ae28d83fcafdefb52cebe12 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Echo 2026-05-07 17:54:19 +02:00 committed by Claire
parent 87d61a280e
commit 3d93d48724

View File

@ -107,8 +107,13 @@ const FieldCard: FC<{
field: AccountField;
}> = ({ htmlHandlers, field }) => {
const intl = useIntl();
const { name, nameHasEmojis, value_plain, valueHasEmojis, verified_at } =
field;
const {
name_emojified,
nameHasEmojis,
value_emojified,
valueHasEmojis,
verified_at,
} = field;
const { wrapperRef, isLabelOverflowing, isValueOverflowing } =
useFieldOverflow();
@ -131,7 +136,7 @@ const FieldCard: FC<{
)}
label={
<FieldHTML
text={name}
text={name_emojified}
textHasCustomEmoji={nameHasEmojis}
className='translate'
isOverflowing={isLabelOverflowing}
@ -141,7 +146,7 @@ const FieldCard: FC<{
}
value={
<FieldHTML
text={value_plain}
text={value_emojified}
textHasCustomEmoji={valueHasEmojis}
isOverflowing={isValueOverflowing}
onOverflowClick={handleOverflowClick}