Update LabelsOnMeDialog.tsx

This commit is contained in:
Minseo Lee
2024-05-13 13:27:54 +09:00
parent 02db034d6e
commit 50a41cbab4
+12 -14
View File
@@ -164,20 +164,18 @@ function Label({
{isSelfLabel ? (
<Trans>This label was applied by you.</Trans>
) : (
<>
<Trans>
Source:{' '}
<InlineLinkText
to={makeProfileLink(
labeler ? labeler.creator : {did: label.src, handle: ''},
)}
onPress={() => control.close()}>
{labeler
? sanitizeHandle(labeler.creator.handle, '@')
: label.src}
</InlineLinkText>
</Trans>
</>
<Trans>
Source:{' '}
<InlineLinkText
to={makeProfileLink(
labeler ? labeler.creator : {did: label.src, handle: ''},
)}
onPress={() => control.close()}>
{labeler
? sanitizeHandle(labeler.creator.handle, '@')
: label.src}
</InlineLinkText>
</Trans>
)}
</Text>
</View>